From f4a92df2ed3e0f26b41f3b352a2628f9060cdb3a Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Thu, 22 Feb 2024 12:55:17 -0500 Subject: [PATCH] ci: Update `GITHUB_TOKEN` for `semantic-release` (#68) --- .github/workflows/release.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 81847de0..5475ff86 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,10 +10,6 @@ jobs: runs-on: ubuntu-latest outputs: RELEASE_PUBLISHED: ${{ steps.semantic-release.outputs.RELEASE_PUBLISHED }} - permissions: - contents: write # to be able to publish a GitHub release - issues: write # to be able to comment on released issues - pull-requests: write # to be able to comment on released pull requests steps: - name: Checkout uses: actions/checkout@v4 @@ -28,7 +24,7 @@ jobs: - name: Release id: semantic-release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }} PYPI_TOKEN: ${{ secrets.RAPIDSAI_PYPI_TOKEN }} run: | npm install