Skip to content

Commit

Permalink
ci: constrain GITHUB_TOKEN permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
commonquail committed Sep 23, 2023
1 parent e0a0bc1 commit c6ebb27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- master

permissions:
contents: write

jobs:
test:
name: test
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- '*'

permissions:
contents: write

jobs:

build-package:
Expand Down

0 comments on commit c6ebb27

Please sign in to comment.