Skip to content

Commit 977b5a3

Browse files
committed
Fix git dubious directory warning more cleanly (actions/checkout#766)
1 parent f674dfa commit 977b5a3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ jobs:
1010
runs-on: ubuntu-24.04
1111

1212
steps:
13-
- uses: actions/checkout@v1
13+
- uses: actions/checkout@v5
14+
15+
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
1416

1517
- name: Setup java
1618
uses: actions/setup-java@v3
@@ -36,9 +38,6 @@ jobs:
3638
key: cljdeps-${{ hashFiles('deps.edn') }}-${{ hashFiles ('package.json') }}-${{ hashFiles ('package-lock.json') }}
3739
restore-keys: cljdeps-
3840

39-
- name: Fix git dubious directory ownership error
40-
run: git config --global --add safe.directory /__w/re-com/re-com
41-
4241
- run: bb test
4342

4443
- run: bb release-demo

0 commit comments

Comments
 (0)