Skip to content

Commit

Permalink
Merge pull request #2 from argentlabs/fix/use-pat-in-actions
Browse files Browse the repository at this point in the history
Update semantic release GITHUB_TOKEN with PAT
  • Loading branch information
gergold authored Oct 6, 2023
2 parents 77a1fb6 + 2f63171 commit e62417a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false

- uses: pnpm/action-setup@v2
name: Install pnpm
name: install-pnpm
id: pnpm-install
with:
version: 8
Expand All @@ -24,7 +26,9 @@ jobs:

- run: pnpm install --frozen-lockfile
- run: pnpm run build
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: semantic-release
run: npx semantic-release --debug true --dry-run false
env:
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit e62417a

Please sign in to comment.