Skip to content

Commit

Permalink
Permissions on GitHub workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhelovuo committed Feb 13, 2025
1 parent 5f6cca5 commit 6bf3f56
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,11 @@ on:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
- '.github/workflows/audit.yml'

github-token:
action-input:
input: token
is-default: false
permissions:
issues: write
issues-reason: to create issues
checks: write
checks-reason: to create check
permissions:
issues: write
checks: write

jobs:
security_audit:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:

name: CI / Static Checks

permissions: read-all

jobs:

fmt:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:

name: CI / Tests on macOS

permissions: read-all

jobs:

test-on-macos:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:

name: CI / Tests

permissions: read-all

jobs:

test-on-ubuntu:
Expand Down

0 comments on commit 6bf3f56

Please sign in to comment.