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 dd22970 + d14b2cf commit 522b86eCopy full SHA for 522b86e
.gitlab-ci.yml
@@ -94,15 +94,6 @@ commitlint:
94
# Set default commit hashes for `--from` and `--to`
95
- 'export COMMITLINT_FROM="$(git merge-base upstream/master HEAD)"'
96
- 'export COMMITLINT_TO="${CI_COMMIT_SHA}"'
97
- # `coqbot` adds a merge commit to test PRs on top of the latest commit in
98
- # the repo; amend this merge commit message to avoid failure
99
- - |
100
- if [ "${GITLAB_USER_LOGIN}" = "coqbot" ] \
101
- && [ "${CI_COMMIT_BRANCH}" != "master" ]; then
102
- git commit --amend -m \
103
- 'chore: reword coqbot merge commit message for commitlint'
104
- export COMMITLINT_TO=HEAD
105
- fi
106
# Run `commitlint`
107
- 'commitlint --from "${COMMITLINT_FROM}"
108
--to "${COMMITLINT_TO}"
0 commit comments