codepipeline: Add Branches and File Paths to CodePipeline pipeline GitPushFilter configuration #31009
Labels
@aws-cdk/aws-codepipeline
Related to AWS CodePipeline
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
pr/work-in-progress
This PR is a draft and needs further work.
Describe the feature
Currently, as it seems, only tag-based filters are available (or exposed) in CodePipeline pipeline GitPushFilter configuration via
tagsExcludes
andtagsIncludes
parameters. However, bothBranches
andFilePaths
options exist in CloudFormation spec https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpushfilter.html Can you please add the two missing configuration parameters? Thanks!Use Case
Branch-based pipeline trigger.
Proposed Solution
Add
branchesExclude
,branchesInclude
,filePathsExclude
andfilePathsInclude
parameters to match CloudFormation spec.Other Information
Previously raised as #29124 but the fix was reverted so opening this to track progress on actually getting it implemented.
Acknowledgements
CDK version used
v2.128.0 (TypeScript)
Environment details (OS name and version, etc.)
MacOS Sonoma 14.3.1
The text was updated successfully, but these errors were encountered: