Skip to content

Commit

Permalink
Minimal token permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed Mar 11, 2023
1 parent 9afb0e1 commit a076ec1
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
permissions:
contents: read
on:
push:
branches: [main]
Expand All @@ -20,6 +22,9 @@ jobs:
clippy:
runs-on: ubuntu-latest
name: ${{ matrix.toolchain }} / clippy
permissions:
contents: read
checks: write
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nostd.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
permissions:
contents: read
on:
push:
branches: [main]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/safety.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
permissions:
contents: read
on:
push:
branches: [main]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
permissions:
contents: read
on:
push:
branches: [main]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
permissions:
contents: read
on:
push:
branches: [main]
Expand Down

0 comments on commit a076ec1

Please sign in to comment.