Skip to content

Commit c144197

Browse files
committed
Use fine-grained token to create release PR
This is required because `GITHUB_TOKEN` does not trigger github actions to run. Which in turn, makes the PR unmergable by people that are not repository owners.
1 parent 54fb754 commit c144197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
cargo install git-cliff --locked
3030
3131
- name: Authenticate GitHub CLI
32-
run: gh auth login --with-token <<< "${{ secrets.GITHUB_TOKEN }}"
32+
run: gh auth login --with-token <<< "${{ secrets.PR_RELEASE_TOKEN }}"
3333

3434
- name: Run release PR script
3535
run: ./scripts/create-release.sh

0 commit comments

Comments
 (0)