Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Commit

Permalink
fix(ci): release job may write protected tags
Browse files Browse the repository at this point in the history
  • Loading branch information
bbortt committed Sep 27, 2022
1 parent 24911d9 commit 887682b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
jobs:
release:
runs-on: ubuntu-20.04
environment: release
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -20,6 +21,6 @@ jobs:
run: npm ci
- name: Create next release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PROTECTED_BRANCH_ACCESS_TOKEN }}
run: |
npx semantic-release

0 comments on commit 887682b

Please sign in to comment.