fix(ci): use RELEASE_TOKEN PAT so tag push triggers release workflow
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -51,12 +51,13 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.RELEASE_TOKEN }}
|
||||
|
||||
- uses: ./.github/actions/setup
|
||||
|
||||
- run: pnpm exec semantic-release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
GIT_AUTHOR_NAME: github-actions[bot]
|
||||
GIT_AUTHOR_EMAIL: github-actions[bot]@users.noreply.github.com
|
||||
GIT_COMMITTER_NAME: github-actions[bot]
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<p>
|
||||
<a href="https://github.com/offendingcommit/openconcho/actions/workflows/ci.yml">
|
||||
<img src="https://github.com/offendingcommit/openconcho/actions/workflows/ci.yml/badge.svg" alt="CI" />
|
||||
<img src="https://github.com/offendingcommit/openconcho/actions/workflows/ci.yml/badge.svg?branch=main&event=push" alt="CI" />
|
||||
</a>
|
||||
<a href="https://github.com/offendingcommit/openconcho/releases/latest">
|
||||
<img src="https://img.shields.io/github/v/release/offendingcommit/openconcho" alt="Latest release" />
|
||||
|
||||
Reference in New Issue
Block a user