When the last commit before a buildCurrently, `wikidata-query-builder-build` doesn’t work when latest commit is a dby Dependabot patch,t. the build fails becauseThe `commit-msg` hook adds the c`Change id is not formatted as expected.
E-Id` keyy for Gerrit in wrong place. See the following error message from [build #34](https://integration.wikimedia.org/ci/job/wikidata-query-builder-build/34/):
>
``` counterexample=true, name=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
```
After m**Notes:**
- Merging [an empty patch](https://gerrit.wikimedia.org/r/c/wikidata/query-builder/+/957367) the next build worked seamlessly ([35](https://integration.wikimedia.org/ci/job/wikidata-query-builder-build/35/)]
- This issue was ocurring in wikidata-query-gui-build. See the ticket to see how to solve the issue: {T295601}
- We made some changes to Addbot in order to try and fix the situation: https://github.com/wmde/dependabot-gerrit-action/pull/6
This issue was ocurring in wikidata-query-gui-build. See the ticket to see how to solve the issue: {T295601}**Acceprtance Criteria**:
[ ] Deployments can be made even if the last commit is a Dependabot change.