Skip to content

Commit 3e245de

Browse files
committed
Workaround GitHub Actions limits
Due to this [1] it seems impossible to run the container as an unprivileged user, so we override with root. [1] actions/checkout#1014
1 parent f996487 commit 3e245de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
container:
1212
image: quay.io/mmul/kpa
13+
options: --user root
1314
steps:
1415
- name: Checkout repository
1516
uses: actions/checkout@v3
@@ -28,6 +29,7 @@ jobs:
2829
runs-on: ubuntu-latest
2930
container:
3031
image: quay.io/mmul/kpa
32+
options: --user root
3133
needs: lint
3234
steps:
3335
- name: Checkout repository
@@ -54,6 +56,7 @@ jobs:
5456
runs-on: ubuntu-latest
5557
container:
5658
image: quay.io/mmul/kpa
59+
options: --user root
5760
needs: markdown
5861
steps:
5962
- name: Checkout repository

0 commit comments

Comments
 (0)