mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-21 22:15:40 +00:00
fix(ci): mark checkout as safe.directory for flatpak build container (#296)
The flatpak-github-actions container runs as root, but the actions/checkout workspace is owned by the runner user. Without a global safe.directory entry git aborts later steps (notably gh release upload, which probes git internally) with "fatal: detected dubious ownership". Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
908c7ceebb
commit
dd947df0b9
@@ -242,6 +242,12 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
# Container runs as root but the checkout is owned by the runner user;
|
||||
# without this, any later `git` (including gh release upload's internal
|
||||
# git probe) aborts with "dubious ownership".
|
||||
- name: mark workspace as safe for git
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: install source-generation tools
|
||||
run: |
|
||||
dnf install -y python3-pip python3-aiohttp
|
||||
|
||||
Reference in New Issue
Block a user