Currently, wikidata-query-builder-build doesn’t work when latest commit is by Dependabot. The commit-msg hook adds the Change-Id keyy for Gerrit in wrong place. See the following error message from build #34:
Error message from build #34
00:15:35 remote: ERROR: commit 5e65550: Change-Id must be in message footer 00:15:35 remote: 00:15:35 remote: Hint: run 00:15:35 remote: git commit --amend 00:15:35 remote: and move 'Change-Id: Ixxx..' to the bottom on a separate line 00:15:35 remote: 00:15:35 To ssh://gerrit.wikimedia.org:29418/wikidata/query-builder/deploy 00:15:35 ! [remote rejected] HEAD -> refs/for/production%ready (commit 5e65550: Change-Id must be in message footer) 00:15:35 error: failed to push some refs to 'ssh://gerrit.wikimedia.org:29418/wikidata/query-builder/deploy' 00:15:35 Build step 'Execute shell' marked build as failure
Notes:
- Merging an empty patch the next build worked seamlessly (35]
- This issue was ocurring in wikidata-query-gui-build. See the ticket to see how to solve the issue: T295601: wikidata-query-gui-build doesn’t work when latest commit is by dependabot (commit-msg hook adds Change-Id in wrong place)
- We made some changes to Addbot in order to try and fix the situation: https://github.com/wmde/dependabot-gerrit-action/pull/6
Acceprtance Criteria:
- Deployments can be made even if the last commit is a Dependabot change.