How to push commit to repository in gitlab-ci but not trigger pipeline job.
My repository have a submodule. When the pipline job run, it will checkout the fixed commit of submodule. So, I add git submodule update --remote
to .gitlab-ci.yml of the repository.
I want to add git push
to .gitlab-ci.yml so that the repository include the latest commit of submodule.
But new commit will trigger pipeline again. Then git push in gitlab-ci, new commit trigger pipeline ... endless loop
What should I do? Thank you.