Git commit to same repository in a runner job doesn't trigger a pipeline

Hello. I have a pipeline that runs and executes a commit to the same repo within that job. The commit can be seen in the gitlab commits view, but no pipeline is triggered for this commit and also no pipeline can be seen behind the commit in the commits view. Even a simple job without any requirements doesn’t run. When I commit exactly the same commit externally with the same git commands the commit DOES seem to trigger the pipeline. Anyone an idea what could be the cause or how to debug this (I could dive into the Gitlab logs, but maybe someone has a clue?)

Hi @danielvanmil

are you using rules in your .gitlab-ci.yml files? If so, are you able to post them here?

Sarah

nope, no rules. I will create an example gitlab project to show the use case tomorow.

1 Like

Currently a warning is logged during the commit:

$ git push origin HEAD:$CI_COMMIT_REF_NAME
Warning: Permanently added the ECDSA host key for IP address ‘172.27.2.22’ to the list of known hosts.

Could this have something to do with the fact a pipeline is not triggered?

(As a workaround I’m now triggering the pipeline with a API request to gitlab)

I wouldn’t have thought so…