Skip to content

Commit

Permalink
ci(publish): pass gh_token to semantic release
Browse files Browse the repository at this point in the history
This way it should be able to push to master
  • Loading branch information
miguelgrc committed Aug 8, 2024
1 parent 8bc84b0 commit 2de6276
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
token: ${{ secrets.GH_TOKEN }}

- uses: actions/setup-node@v4
with:
Expand All @@ -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 }}

0 comments on commit 2de6276

Please sign in to comment.