Skip to content

Commit

Permalink
fix: set correct "permissions" and use the default "GITHUB_TOKEN" tha…
Browse files Browse the repository at this point in the history
…t comes automatically
  • Loading branch information
TimPietrusky committed Dec 7, 2023
1 parent f38383e commit 924d00f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
docker:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'chore(release)') }}
permissions:
contents: write

steps:
- name: Checkout
Expand All @@ -22,7 +24,7 @@ jobs:

- name: Release
env:
GH_TOKEN: ${{ secrets.GH_PAT }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx -p @semantic-release/git semantic-release


0 comments on commit 924d00f

Please sign in to comment.