Skip to content

Commit

Permalink
update pr-check to fix non-root user caused issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed May 30, 2024
1 parent efb15fb commit c5a0336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3.6.0
- name: pr-check
run: |
docker run --rm -v $(pwd):/src -w /src -e SKIP_CHECKOV -e GITHUB_TOKEN mcr.microsoft.com/azterraform:latest make pr-check
docker run --rm -u 0 -v $(pwd):/src -w /src -e SKIP_CHECKOV -e GITHUB_TOKEN mcr.microsoft.com/azterraform:latest make pr-check
- name: Set up Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 #3.5.0
with:
Expand Down

0 comments on commit c5a0336

Please sign in to comment.