Skip to content

Commit

Permalink
ci: Use commit token to push releases
Browse files Browse the repository at this point in the history
  • Loading branch information
dblanchette committed May 3, 2024
1 parent f8529c5 commit d5d0cf9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ permissions:

jobs:
semantic-release:
environment: production
runs-on: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.COMMIT_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
Expand All @@ -24,6 +27,6 @@ jobs:
- name: Release
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.COMMIT_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: npx semantic-release

0 comments on commit d5d0cf9

Please sign in to comment.