-
Bug
-
Resolution: Done
-
Normal
-
Pipelines 1.21.0
-
2
-
False
-
-
False
-
Fixes an issue that prevented skip-CI detection from working for GitLab merge requests. Skip-CI now functions as expected.
-
Bug Fix
-
Done
-
-
-
Pipelines Sprint CrookShank 47
Description of problem:
When a commit has the skip ci command in the message, it is not respected and pipelineruns are created.
Workaround
N/A
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Create a new commit with message "lets [skip ci]" on a gitlab configured repo
- Push and create a new PR
Actual results:
PipelineRuns are created with controller logs as
{"level":"info","ts":"2026-01-19T09:14:47.589Z","logger":"pipelinesascode","caller":"adapter/sinker.go:100","msg":"CI skipped for push event: commit 7be856788a653fa0f255cef42e6e50bd932b04b7 contains skip command in message","commit":"b9156b4-dirty","provider":"gitlab","event-id":"",
...
{"level":"info","ts":"2026-01-19T09:14:59.711Z","logger":"pipelinesascode","caller":"gitlab/gitlab.go:356","msg":"Using PipelineRun definition from source merge request on commit SHA: 7be856788a653fa0f255cef42e6e50bd932b04b7","commit":"b9156b4-dirty","provider":"gitlab","event-id":"","event-sha":"7be856788a653fa0f255cef42e6e50bd932b04b7","event-type":"Merge Request","source-repo-url":"https://gitlab.com/theakshaypant/pac-test","target-branch":"main","source-branch":"qw","namespace":"default"}{"level":"info","ts":"2026-01-19T09:15:02.242Z","logger":"pipelinesascode","caller":"matcher/annotation_matcher.go:213","msg":"matching pipelineruns to event: URL=https://gitlab.com/theakshaypant/pac-test, target-branch=main, source-branch=qw, target-event=pull_request","commit":"b9156b4-dirty","provider":"gitlab","event-id":"","event-sha":"7be856788a653fa0f255cef42e6e50bd932b04b7","event-type":"Merge Request","source-repo-url":"https://gitlab.com/theakshaypant/pac-test","target-branch":"main","source-branch":"qw","namespace":"default"}{"level":"info","ts":"2026-01-19T09:15:02.242Z","logger":"pipelinesascode","caller":"matcher/annotation_matcher.go:380","msg":"matched pipelinerun with name: akshay-pac-test-repo, annotation Config: map[\"max-keep-runs\":\"5\" \"target-branch\":\"[main]\" \"target-event\":\"[pull_request, push]\"]","commit":"b9156b4-dirty","provider":"gitlab","event-id":"","event-sha":"7be856788a653fa0f255cef42e6e50bd932b04b7","event-type":"Merge Request","source-repo-url":"https://gitlab.com/theakshaypant/pac-test","target-branch":"main","source-branch":"qw","namespace":"default"}
...
Expected results:
No pipelineruns should start when any of the skip commands is present in the commit message
Reproducibility (Always/Intermittent/Only Once):
Always
Acceptance criteria:
Skip CI should work as expected.
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):
*
Konflux support ticket: https://issues.redhat.com/browse/KFLUXSPRT-6612
- links to