Skip to content

Commit

Permalink
Workaround GitHub Actions limits
Browse files Browse the repository at this point in the history
Due to this [1] it seems impossible to run the container as an unprivileged
user, so we override with root.

[1] actions/checkout#1014
  • Loading branch information
rascasoft committed Aug 2, 2023
1 parent 47106c4 commit 26f1aac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: quay.io/mmul/kpa
options: --user root
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -28,6 +29,7 @@ jobs:
needs: lint
container:
image: quay.io/mmul/kpa
options: --user root
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down

0 comments on commit 26f1aac

Please sign in to comment.