-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webhooks from non-master commits must be ignored #537
Comments
For Github request we can see default_branch and master_branch parameters (and ref for destination branch): For GitLab we can see only default_branch (https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html#push-events) |
Looks like it is better to use master only, in case of merge conflicts with master will be problems in pull logic |
Currently, we respond to all webhook-arrived commits. Instead, let's react only if the commit is in the default branch.
The text was updated successfully, but these errors were encountered: