Skip to content

git-sign: restore workspace ownership after running the signing container - #122

Open
GromNaN wants to merge 1 commit into
mongodb-labs:mainfrom
GromNaN:git-sign-restore-ownership
Open

git-sign: restore workspace ownership after running the signing container#122
GromNaN wants to merge 1 commit into
mongodb-labs:mainfrom
GromNaN:git-sign-restore-ownership

Conversation

@GromNaN

@GromNaN GromNaN commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

The signing container runs as root, so the git objects it creates are root-owned and later steps running as the runner user fail with insufficient permission for adding an object to repository database .git/objects. The chown is done by the container itself, so it works on runners without passwordless sudo.

Seen in a mongo-php-driver release run, where the merge up step failed after bump-version and tag-version.

@GromNaN
GromNaN requested a review from kevinAlbs August 27, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants