From 2de62768581b4a45d2f7ef564393707ccd11a549 Mon Sep 17 00:00:00 2001 From: Miguel Garcia Garcia Date: Thu, 8 Aug 2024 13:43:11 +0200 Subject: [PATCH] ci(publish): pass gh_token to semantic release This way it should be able to push to master --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0cc70a5..9356f2e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,6 +16,7 @@ jobs: with: fetch-depth: 0 persist-credentials: false + token: ${{ secrets.GH_TOKEN }} - uses: actions/setup-node@v4 with: @@ -32,6 +33,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 }}