openshift-pipelines / pipelines-as-code

Pipelines-as-Code for Tekton
https://pipelinesascode.com
Apache License 2.0
136 stars 81 forks source link

Re-run failed check triggers even success pipeline runs #1227

Open savitaashture opened 1 year ago

savitaashture commented 1 year ago

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

sm43 commented 1 year ago

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.