Skip to content

Commit 20780cb

Browse files
committed
Take ownership of cloned repository
1 parent 46e4234 commit 20780cb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: .github/workflows/alpine-test.yml

+5
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
with:
2828
fetch-depth: 0
2929

30+
- name: Set workspace ownership
31+
run: |
32+
chown -R runner:docker -- "$GITHUB_WORKSPACE"
33+
shell: sh -exo pipefail {0} # Run this as root, not the "runner" user.
34+
3035
- name: Debug ownership
3136
run: |
3237
printenv GITHUB_WORKSPACE

0 commit comments

Comments
 (0)