Is there any availability to pass any parameter of hook. Consider hook has been fire on merge after pull request, can I pass this branch name to executable using this hook?
You should be able to do this by reading stdin. All ref updates will come line-by-line in format <old-value> <new-value> <ref-name>. <ref-name> is the name of branch you are looking for.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.