-
Story
-
Resolution: Done
-
Normal
-
Pipelines 1.8.0
-
5
-
False
-
None
-
True
-
Pipelines Sprint 227, Pipelines Sprint 228, Pipelines Sprint 229, Pipelines Sprint 230
- Currently we don't support PR's event filtering by title using Advanced events matching
As of now we only expose few feilds to end user to play with Advanced event matching.
The fields available are : event: push or pull_request target_branch: The branch we are targeting. source_branch: The branch where this pull_request come from. (on push this is the same as target_branch).
we might need to add new field for title so can do some CEL regular exprissions , and filter out required events to run workloads.
eg:
PR's with below format [Downstream] ...... [Feat] .... [Fix] .... etc.,
And For example if I want to have a PipelineRun targeting a pull_request with title prefix downstream [Downstream] Feature 1
pipelinesascode.tekton.dev/on-cel-expression: | event == "pull_request" && title == '\[D?d?ownstream.*'
- Proposal is to add new feild title