Skip to content

Commit

Permalink
ci: Use permissions and regular GitHub token instead of PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
anddea committed Nov 7, 2024
1 parent 4a4617f commit d2b91fb
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 @@ -10,6 +10,11 @@ on:
jobs:
release:
name: Release
permissions:
contents: write
issues: write
pull-requests: write
packages: write
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -46,5 +51,5 @@ jobs:

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm exec semantic-release

0 comments on commit d2b91fb

Please sign in to comment.