Skip to content

Commit

Permalink
ci(publish): add gh_token to publish step instead of to checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrc committed Aug 8, 2024
1 parent cc9b6ea commit 4e904c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
token: ${{ secrets.GH_TOKEN }}

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

0 comments on commit 4e904c5

Please sign in to comment.