mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 18:51:12 +00:00
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.
This commit is contained in:
parent
1d3243806d
commit
c8abac9941
@ -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}",
|
||||
]
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user