mirror of
https://github.com/actions/checkout.git
synced 2026-01-14 16:13:07 +08:00
Compare commits
2 Commits
910aef5639
...
ae65316283
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae65316283 | ||
|
|
5a01a5fbf4 |
@ -325,7 +325,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
run: >-
|
run: >-
|
||||||
git status
|
git status
|
||||||
|| git config --system --add safe.directory "${PWD}"
|
|| git config --system --add safe.directory "$GITHUB_WORKSPACE"
|
||||||
```
|
```
|
||||||
|
|
||||||
This check prevent/workaround "fatal: detected dubious ownership in repository" error on self hosted runners.
|
This check prevent/workaround "fatal: detected dubious ownership in repository" error on self hosted runners.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user