From c8abac994122b67de8145579489576db5df2b3d3 Mon Sep 17 00:00:00 2001 From: ci Date: Wed, 28 Jan 2026 10:36:39 +0000 Subject: [PATCH] ci: mount .git dir rw 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. --- ci/lint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/lint.py b/ci/lint.py index 8e2a1e55ed9..e94a26af291 100755 --- a/ci/lint.py +++ b/ci/lint.py @@ -31,7 +31,7 @@ def get_worktree_mounts(repo_root): main_gitdir = gitdir.parent.parent return [ f"--volume={gitdir}:{gitdir}", - f"--volume={main_gitdir}:{main_gitdir}:ro", + f"--volume={main_gitdir}:{main_gitdir}", ]