Skip to content

Commit 5ce1b64

Browse files
authored
feat(codepipeline): GitPullRequestFilter for pipeline trigger (aws#29128)
### Issue # (if applicable) Closes aws#29126. Related PR: aws#29127 Perhaps if one merges, the other will cause a conflict. ### Reason for this change We would be good to trigger pipelines by git pull request filters. - CFn and API docs - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitconfiguration.html - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpullrequestfilter.html - https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_GitPullRequestFilter.html ### Description of changes Add `gitPullRequestFilter` parameter with new interface into `GitConfiguration` interface. ### Description of how you validated changes Both unit and integ tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 7ed3460 commit 5ce1b64

File tree

11 files changed

+3011
-53
lines changed

11 files changed

+3011
-53
lines changed
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.pipeline-with-pipeline-triggers.js.snapshot/aws-cdk-codepipeline-with-pipeline-triggers.assets.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)