Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-7383

Pipeline of MR is re-triggered when the description is modified

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      Before this fix, pipeline runs for Merge Requests (MRs) in GitLab were automatically re-triggered whenever non-code changes were made—such as modifying the MR description or adding reviewers. This will be fixed so that pipeline runs are only automatically triggered by new commits, avoiding unnecessary pipeline executions on metadata updates.
      Show
      Before this fix, pipeline runs for Merge Requests (MRs) in GitLab were automatically re-triggered whenever non-code changes were made—such as modifying the MR description or adding reviewers. This will be fixed so that pipeline runs are only automatically triggered by new commits, avoiding unnecessary pipeline executions on metadata updates.
    • Bug Fix
    • Done
    • Pipelines Sprint pioneers 31, Pipelines Sprint pioneers 32

      Description of problem:

      In Konflux, I have noticed that the pipeline of MR is re-triggered when the MR content is modified (e.g, modify description, add reviewers, etc). I think that only new commits should re-triggered the pipeline automatically.

      Example (pipeline is re-triggered when a new reviewer is added to the MR) https://gitlab.cee.redhat.com/istio/konflux/ossm/-/merge_requests/56#note_15068134

      Prerequisites (if any, like setup, operators/versions):

       ** Konflux setup with gitlab repo as a midstream.

      Steps to Reproduce

      1. Create MR that triggers a Konflux pipeline
      2. Modify the description or add a reviewer
      3. Verify that Konflux pipeline is re-triggered

      Actual results:

      The pipeline is re-triggered when the MR metadata changes

      Expected results:

      The pipeline should not re-triggered when the MR metadata changes

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              ppunamiy Puneet Punamiya
              rh-ee-fhoyosle Fernando Hoyos Leyva
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: