Skip to content

Commit d647e39

Browse files
committed
conf(ci): release pr can run workflows
1 parent eb07e49 commit d647e39

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ jobs:
1010
env:
1111
SKIP_CI: ${{ startsWith(github.head_ref, 'changeset-release/') }}
1212
steps:
13+
- name: Skip redundant CI on release PRs
14+
if: ${{ env.SKIP_CI == 'true' }}
15+
run: echo "Skipping ${{ matrix.task }} for changeset release PR"
16+
1317
- uses: actions/checkout@v4
1418
if: ${{ env.SKIP_CI != 'true' }}
1519

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
publish: pnpm changeset:publish
2828
version: pnpm changeset:version
2929
env:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
GITHUB_TOKEN: ${{ secrets.CHANGESETS_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)