Skip to content

Commit

Permalink
fix: (another) attempt at fixing semantic-release permissions (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaldino authored Apr 5, 2023
1 parent 439c30f commit bc86e66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- main

permissions:
contents: write

jobs:
semantic-release:
name: semantic-latest
Expand All @@ -22,5 +25,5 @@ jobs:
- run: yarn build
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit bc86e66

Please sign in to comment.