Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,12 @@ jobs:
title: 'chore: version packages'
commit: 'chore: version packages'
env:
# Use PAT to trigger CI workflow on the created PR
# GITHUB_TOKEN doesn't trigger other workflows (GitHub security feature)
GITHUB_TOKEN: ${{ secrets.PAT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Enable auto-merge for Release PR
if: steps.changesets.outputs.pullRequestNumber
run: gh pr merge ${{ steps.changesets.outputs.pullRequestNumber }} --auto --squash
env:
# Use PAT so the merge triggers the Release workflow
GH_TOKEN: ${{ secrets.PAT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.PAT_GITHUB_TOKEN }}