mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 17:56:34 +00:00
ci(release-kiosk): whitelist workspace as safe.directory (container UID mismatch)
This commit is contained in:
parent
6bad53da37
commit
afc560bbf5
1 changed files with 3 additions and 0 deletions
3
.github/workflows/release-kiosk.yml
vendored
3
.github/workflows/release-kiosk.yml
vendored
|
|
@ -55,6 +55,9 @@ jobs:
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
ca-certificates curl git build-essential pkg-config \
|
ca-certificates curl git build-essential pkg-config \
|
||||||
jq sudo
|
jq sudo
|
||||||
|
# Container UID != workspace owner UID — git's CVE-2022-24765
|
||||||
|
# check refuses to operate. Whitelist before checkout runs git.
|
||||||
|
git config --global --add safe.directory '*'
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue