Skip to content

Commit

Permalink
Add write permissions for creating a new branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaoliao committed Dec 22, 2024
1 parent 4b7a2be commit 09a9f04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
create-branch:
needs: ["publish-npm"]
runs-on: "ubuntu-latest"
permissions:
# For creating a new branch
contents: write
steps:
- uses: "actions/checkout@v4"
with:
Expand Down

0 comments on commit 09a9f04

Please sign in to comment.