Skip to content

aws-codepipeline: add GitPullRequestFilter for pipeline trigger #29126

@go-to-k

Description

@go-to-k

Describe the feature

Currently, CDK only supports GitPushFilter. However, CloudFormation already supports GitPullRequestFilter, 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 into GitConfiguration interface.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.128.0

Environment details (OS name and version, etc.)

MacOS 13.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions