-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
-
Product / Portfolio Work
-
None
-
False
-
-
None
-
None
-
None
-
-
None
-
None
-
None
-
None
-
None
1. Proposed title of this feature request
Process PR closed events from GitHub in Pipelines as Code
2. What is the nature and description of the request?
Currently Piplelines as Code only processes Push and PR Open/Update webhooks, and wont pass on other pull request action types to the PipelineRun. There is no way to use CEL or another annotation type to capture and react to PR Close events. This can be achieved with the older EventListener -> Trigger -> Interceptor pipeline workflow - params: - name: filter value: 'body.action in [''closed'']' ref: kind: ClusterInterceptor name: cel
3. Why does the customer need this? (List the business requirements here)
When testing a PR we build a copy of the app to validate it. When the PR is closed (with or without merge) we want to run a cleanup action to delete any PR specific objects that have been created.
4. List any affected packages or components.
OpenShift Pipelines - PAC