fix(ci): reclaim aur-repo ownership after docker chown #49

Merged
razvandimescu merged 1 commits from fix/aur-publish-permission into main 2026-04-09 23:24:30 +08:00

1 Commits

Author SHA1 Message Date
Razvan Dimescu
251348a256 fix(ci): reclaim aur-repo ownership after docker chown
The 'Push to AUR' step failed on run 24195384571 with:
  error: could not lock config file .git/config: Permission denied

Inside the docker block we 'chown -R builduser:builduser /pkg', which
propagates through the bind mount and transfers ownership of aur-repo/
(including .git/) to the container's builduser UID. When control returns
to the runner user, 'git config user.name' can no longer write .git/config
and the step exits 255.

Chown the directory back to the runner's UID/GID before resuming host-side
git operations.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 18:20:18 +03:00