From d000bd0459f1f8bda975fc4a1990d28541dfd321 Mon Sep 17 00:00:00 2001 From: Bryce Tham Date: Tue, 30 Jul 2024 16:21:45 -0400 Subject: [PATCH] fix: use token for semantic release (#9) * fix: use token for semantic release * fix: remove permissions block --------- Co-authored-by: Bryce Tham --- .github/workflows/npm-publish.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 45b0547..b44dcd3 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -8,9 +8,6 @@ on: branches: - main -permissions: - contents: write - jobs: semantic-release: name: semantic-latest @@ -18,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v3 with: - persist-credentials: false + token: ${{ secrets.CI_TOKEN }} - uses: actions/setup-node@v3 with: node-version: 16