Skip to content

Commit

Permalink
Restrict permissions for GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
minamijoyo committed Sep 4, 2021
1 parent 63640f0 commit 6025ba6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: release
permissions:
contents: write

on:
push:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: test
permissions:
contents: read

on:
push:
branches:
Expand Down

0 comments on commit 6025ba6

Please sign in to comment.