-
Bug
-
Resolution: Done
-
Critical
-
Pipelines 1.15.0
-
None
-
4
-
False
-
None
-
False
-
Reverted the categorization of GitOps comments from a specific label to the generic "pull_request" event type to maintain backward compatibility and added documentation for deprecation notice and future deprecation plans.
-
-
when doing /retest /cancel and other gitops comments we used to set the {{ event_type }} as pull_request for every kind of events on a pull_request via gitops comments, on 1.15 we categorized those to different event_type :
NoOpsCommentEventType = EventType("no-ops-comment") TestAllCommentEventType = EventType("test-all-comment") TestSingleCommentEventType = EventType("test-comment") RetestSingleCommentEventType = EventType("retest-comment") RetestAllCommentEventType = EventType("retest-all-comment") OnCommentEventType = EventType("on-comment") CancelCommentSingleEventType = EventType("cancel-comment") CancelCommentAllEventType = EventType("cancel-all-comment") OkToTestCommentEventType = EventType("ok-to-test-comment")
which break customers relying it on being pull_request event when used for filtering
we need to revert this behaviour, add some documentation for deprecation notice and further plan the deprecation period.