Skip to content

Commit 20bec5c

Browse files
fix(ci): use RELEASE_TOKEN PAT so tag push triggers release workflow
1 parent 4f7ef9f commit 20bec5c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,13 @@ jobs:
5151
- uses: actions/checkout@v4
5252
with:
5353
fetch-depth: 0
54+
token: ${{ secrets.RELEASE_TOKEN }}
5455

5556
- uses: ./.github/actions/setup
5657

5758
- run: pnpm exec semantic-release
5859
env:
59-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
6061
GIT_AUTHOR_NAME: github-actions[bot]
6162
GIT_AUTHOR_EMAIL: github-actions[bot]@users.noreply.github.com
6263
GIT_COMMITTER_NAME: github-actions[bot]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<p>
77
<a href="https://github.com/offendingcommit/openconcho/actions/workflows/ci.yml">
8-
<img src="https://github.com/offendingcommit/openconcho/actions/workflows/ci.yml/badge.svg" alt="CI" />
8+
<img src="https://github.com/offendingcommit/openconcho/actions/workflows/ci.yml/badge.svg?branch=main&event=push" alt="CI" />
99
</a>
1010
<a href="https://github.com/offendingcommit/openconcho/releases/latest">
1111
<img src="https://img.shields.io/github/v/release/offendingcommit/openconcho" alt="Latest release" />

0 commit comments

Comments
 (0)