我正在使用webhook在推送请求上构建我的项目。默认情况下,AWS CodeBuild构建在推送到每个分支的基础上,但是我想将其限制为master - 仅在推送到master时触发构建。我如何使用正则表达式模式来做到这一点?
AWS文档在如何使用正则表达式方面并不具体。
您可以在webhook上设置过滤器组,如文档@ https://docs.aws.amazon.com/codebuild/latest/userguide/sample-github-pull-request.html#sample-github-pull-request-filter-webhook-events-console中所述