pipelines-as-code
pipelines-as-code copied to clipboard
Re-run failed check triggers even success pipeline runs
There is a feature addition to support check suite for GithubApp PR Ref: https://github.com/openshift-pipelines/pipelines-as-code/pull/1191
According to the feature
Expected Behavior:
Re-run failed checks : should re-run only failed PipelineRun
Re-run all checks: should run both failed and success PipelineRun
Current Behavior:
Re-run failed checks : re-running both failed and success PipelineRun
Re-run all checks: re-running both failed and success PipelineRun
cc @chmouel
yeah. we are parsing the event and triggering the pipelineruns. probably we need to query the checkruns on the commit and figure out which pipelineruns have failed and then trigger them.