Skip to content

Commit

Permalink
👽 workflows require permissions (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangWeixian authored Apr 9, 2023
1 parent 7413905 commit 805a40b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/small-dingos-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aiou/rollup-template": patch
---

add workflow permissons required by github workflow breaking changes
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
version:
timeout-minutes: 15
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
pull-requests: write
steps:
- name: checkout code repository
uses: actions/checkout@v2
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/snapshot-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ jobs:
version:
timeout-minutes: 15
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
pull-requests: write
steps:
- name: checkout code repository
uses: actions/checkout@v2
Expand Down

0 comments on commit 805a40b

Please sign in to comment.