Skip to content

Commit

Permalink
fix(CI): permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
stritti committed May 21, 2024
1 parent a360cde commit 3beaa6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ on:
branches: [master]
pull_request:
branches: [master]
release:
branches: [master]

permissions:
checks: write
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ name: Publish package
on:
release:
types: [created]

permissions:
checks: write
pull-requests: write
contents: write

jobs:
publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3beaa6a

Please sign in to comment.