Pipeline runs twice for one merge request #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug Report
Summary
After a merge request has been created, confirmed, and successfully merged, another pipeline run is dispatched, providing no real use besides hogging resources.
Steps to Reproduce
Expected Behavior
The pipeline should only run once for merge request related changes.
Actual Behavior
After the merge has been confirmed another pipeline run is dispatched.
Stack Trace / Error Message
Possible Cause
The start conditions for the on-commit run case are defined as follows:
The second pipeline run is started, because
CI_COMMIT_BRANCHmatches formainand the merge commit that has been made after the merge request is merged.Additionall information can be found in the official GitLab documentation
marked this issue as related to #24