- Más nuevo
- Más votos
- Más comentarios
Hi StealthSid2,
For your use case, you can use two filter groups:
First filter group:
Event type: PUSH
HEAD_REF: master
Second filter group:
Event type: PULL_REQUEST_CREATED
BASE_REF: master
Best,
Zhen
Hi StealthSid2, for webhook event filtering, please use the EVENT filter (like the setting in Zhen's response). HEAD_REF and BASE_REF are used to filter the branches of a PR or Push event.
For more details, please check the sample in our documentation https://docs.aws.amazon.com/codebuild/latest/userguide/sample-github-pull-request.html#sample-github-pull-request-filter-webhook-events
Thank you for using AWS CodeBuild.
Sorry for the late reply... I don't get notifications from the forum. Let me try this and then mark the appropriate answer.
I cannot believe I didn't notice the abilty to add multiple filter groups. I was trying to shoehorn it into a single regex on one filter group. Thanks so much for the help!
Contenido relevante
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 3 años