Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust workflow permissions #110

Merged
merged 2 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
cpp-test-libc:
needs: ['build']
runs-on: ubuntu-latest
permissions:
checks: write
strategy:
matrix:
debian:
Expand All @@ -83,6 +85,8 @@ jobs:
cpp-test-musl:
needs: ['build']
runs-on: ubuntu-latest
permissions:
checks: write
strategy:
matrix:
alpine:
Expand Down Expand Up @@ -137,6 +141,8 @@ jobs:
artifact: darwin-x64

runs-on: ${{ matrix.target.os }}
permissions:
checks: write
env:
NPM_TAINTEDUTILS: true
steps:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
cpp-test-libc:
needs: ['build']
runs-on: ubuntu-latest
permissions:
checks: write
strategy:
matrix:
debian:
Expand All @@ -77,6 +79,8 @@ jobs:
cpp-test-musl:
needs: ['build']
runs-on: ubuntu-latest
permissions:
checks: write
strategy:
matrix:
alpine:
Expand Down Expand Up @@ -158,6 +162,8 @@ jobs:
artifact: darwin-x64

runs-on: ${{ matrix.target.os }}
permissions:
checks: write
env:
NPM_TAINTEDUTILS: true
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
needs: pack
runs-on: ubuntu-latest
environment: release
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: codex-team/[email protected]
Expand Down
Loading