From 6f23d5bc0e5d0ceaa817cd83d3a392321d131f28 Mon Sep 17 00:00:00 2001 From: Marco Link Date: Fri, 5 Dec 2025 10:32:09 +0100 Subject: [PATCH] chore: use action scoped GH token --- .github/workflows/semantic-release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index ac0bb6f..7c4fa16 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -5,6 +5,11 @@ on: branches: - main +permissions: + contents: write + issues: write + pull-requests: write + jobs: build: name: Build & Release @@ -31,5 +36,5 @@ jobs: - name: Release run: npm run semantic-release env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}