Skip to content

Commit

Permalink
fix: swapped GH_TOKEN for GITHUB_TOKEN to use auto generated token by…
Browse files Browse the repository at this point in the history
… GitHub
  • Loading branch information
cbartel authored Feb 4, 2023
1 parent e4aeadc commit 58350f8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
push:
branches: [ main, beta ]

permissions:
contents: write
issues: write
pull-requests: write

jobs:
release:
name: Release
Expand All @@ -21,6 +26,6 @@ jobs:
- run: npm run build
- name: Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release

0 comments on commit 58350f8

Please sign in to comment.