Skip to content

Commit 1bc8542

Browse files
committed
change workspace permission
1 parent 4f2a0b1 commit 1bc8542

File tree

7 files changed

+33
-10
lines changed

7 files changed

+33
-10
lines changed

.github/workflows/ansible-runner.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ jobs:
1919
steps:
2020
- name: Clean up
2121
continue-on-error: true
22-
run: docker system prune --force --all --volumes
23-
22+
run: |
23+
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
24+
docker system prune --force --all --volumes
25+
2426
- uses: actions/checkout@v2
2527
with:
2628
fetch-depth: 0

.github/workflows/benchmark.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ jobs:
1515
steps:
1616
- name: Clean up
1717
continue-on-error: true
18-
run: docker system prune --force --all --volumes
18+
run: |
19+
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
20+
docker system prune --force --all --volumes
1921
2022
- uses: actions/checkout@v2
2123
with:

.github/workflows/build-artifacts.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ jobs:
2626
steps:
2727
- name: Clean up
2828
continue-on-error: true
29-
run: docker system prune --force --all --volumes
30-
29+
run: |
30+
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
31+
docker system prune --force --all --volumes
32+
33+
3134
- uses: actions/checkout@v2
3235
with:
3336
fetch-depth: 0

.github/workflows/devnet-release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ jobs:
1515
steps:
1616
- name: Clean up
1717
continue-on-error: true
18-
run: docker system prune --force --all --volumes
19-
18+
run: |
19+
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
20+
docker system prune --force --all --volumes
21+
22+
2023
- uses: actions/checkout@v2
2124

2225
- uses: google-github-actions/setup-gcloud@master

.github/workflows/docker-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ jobs:
2424
steps:
2525
- name: Clean up
2626
continue-on-error: true
27-
run: docker system prune --force --all --volumes
27+
run: |
28+
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
29+
docker system prune --force --all --volumes
30+
2831
2932
- uses: actions/checkout@v2
3033
with:

.github/workflows/picashot.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ jobs:
1212
- ansible-runner
1313

1414
steps:
15+
- name: Clean up
16+
continue-on-error: true
17+
run: |
18+
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
19+
docker system prune --force --all --volumes
20+
1521
- name: Run ansible playbook
1622
working-directory: "./.maintain/playbooks"
1723
run: |
@@ -27,7 +33,9 @@ jobs:
2733
steps:
2834
- name: Clean up
2935
continue-on-error: true
30-
run: docker system prune --force --all --volumes
36+
run: |
37+
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
38+
docker system prune --force --all --volumes
3139
3240
- name: Run ansible playbook
3341
working-directory: "./.maintain/playbooks"

.github/workflows/simnode.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ jobs:
1515
steps:
1616
- name: Clean up
1717
continue-on-error: true
18-
run: docker system prune --force --all --volumes
18+
run: |
19+
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
20+
docker system prune --force --all --volumes
1921
2022
- uses: actions/checkout@v2
2123
with:

0 commit comments

Comments
 (0)