-
Notifications
You must be signed in to change notification settings - Fork 4k
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
aws-codepipeline: add GitPullRequestFilter for pipeline trigger #29126
aws-codepipeline: add GitPullRequestFilter for pipeline trigger #29126
Comments
I will take this issue. |
Awesome! Thanks! |
We are very interested in getting this issue resolved. The PR #29128 appears to solve what we would want. Is there anything we can do to help this along? |
Thanks, @jochemd The PR is awaiting review by the maintainer. Please wait a little longer; a thumbs up reaction to the issue may raise the priority of the review. |
### Issue # (if applicable) Closes #29126. Related PR: #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*
|
Describe the feature
Currently, CDK only supports
GitPushFilter
. However, CloudFormation already supportsGitPullRequestFilter
, which can also be supported by CDK.https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpullrequestfilter.html
Use Case
We would be good to trigger pipelines by git pull request filters.
Proposed Solution
Add
gitPullRequestFilter
parameter with new interface intoGitConfiguration
interface.Other Information
No response
Acknowledgements
CDK version used
2.128.0
Environment details (OS name and version, etc.)
MacOS 13.0
The text was updated successfully, but these errors were encountered: