From 4e904c56091df7e181013c4fd0b32a4cd15a527d Mon Sep 17 00:00:00 2001 From: Miguel Garcia Garcia Date: Thu, 8 Aug 2024 14:17:42 +0200 Subject: [PATCH] ci(publish): add gh_token to publish step instead of to checkout --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6b7129d..0215084 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,6 @@ jobs: with: fetch-depth: 0 persist-credentials: false - token: ${{ secrets.GH_TOKEN }} - uses: actions/setup-node@v4 with: @@ -33,6 +32,7 @@ jobs: - name: Publish env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.CERN_SIS_NPM }} run: HUSKY=0 npx semantic-release ${{ inputs.semanticReleaseParams }}