On merges to master we set LINT_CI_SANITY_CHECK_COMMIT_SIG (when “GITHUB_REPOSITORY == bitcoin/bitcoin”) which runs verify-commits.py.
This requires write access to the .git directory. Make the mounted .git directory writable.
This is currently not run on PR branches or locally which caused a miss during review.
Ideally we can have the same checks running in PRs as on merges to master to avoid future discrepancies like this.