1
0
mirror of https://github.com/actions/checkout.git synced 2026-03-07 08:51:46 +08:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Phil Coval
97615c0abb
Merge 0989b3cff1 into 85e6279cec 2025-05-28 12:44:15 +00:00
Philippe Coval
0989b3cff1 doc: Add workaround for ownership on self-hosted runners
Check is done in extra step

Origin: https://github.com/actions/checkout/pull/2124
Relate-to: https://github.com/actions/checkout/issues/1048#issuecomment-2768908874
Co-authored-by: tonyd-stoat <anton.d@gowombat.team>
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2025-05-28 14:44:05 +02:00

View File

@ -323,7 +323,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
run: >- - run: >-
git status git status
|| git config --system --add safe.directory "$GITHUB_WORKSPACE" || git config --system --add safe.directory "$GITHUB_WORKSPACE"
``` ```