Skip to content

Commit

Permalink
🐛 Fixes Semantic Release from Protected Branch
Browse files Browse the repository at this point in the history
  • Loading branch information
brucificus committed Dec 15, 2023
1 parent d7936e2 commit f15e43d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}

- name: Use Node.js 20.x
uses: actions/setup-node@v1
Expand All @@ -37,5 +39,9 @@ jobs:
npm run semantic-release
env:
CI: true
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_NAME: github-actions
GIT_AUTHOR_EMAIL: 44210433+github-actions@users.noreply.github.com
GIT_COMMITTER_NAME: github-actions
GIT_COMMITTER_EMAIL: 44210433+github-actions@users.noreply.github.com
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit f15e43d

Please sign in to comment.