We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 134d4d3 + bf12e15 commit 84f7e87Copy full SHA for 84f7e87
.gitlab-ci.yml
@@ -142,7 +142,8 @@ deploy:
142
- git config user.name "Gitlab Runner"
143
- git config user.email ""
144
- git add info/owners.yaml info/RHMAINTAINERS info/CODEOWNERS
145
- - git commit -m "[Gitlab CI/CD] Automated rebuild of info/*"
+ # make it so that job will not fail if there is nothing to commit
146
+ - git diff-index --quiet HEAD || git commit -m "[Gitlab CI/CD] Automated rebuild of info/*"
147
- git push https://gitlab-ci-token:$MAKE_MAINT@gitlab.com/redhat/centos-stream/src/kernel/documentation.git '$CI_DEFAULT_BRANCH'
148
149
rules:
0 commit comments