Skip to content

Commit fc68d22

Browse files
committed
ci: use RELEASE_TOKEN to enable workflow triggers
Replace GITHUB_TOKEN with RELEASE_TOKEN (PAT) in release-plz workflow to allow release-plz to trigger cargo-dist workflow when creating tags.
1 parent 56ad249 commit fc68d22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-plz.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
21-
token: ${{ secrets.GITHUB_TOKEN }}
21+
token: ${{ secrets.RELEASE_TOKEN }}
2222

2323
- name: Install Rust toolchain
2424
uses: dtolnay/rust-toolchain@stable
2525

2626
- name: Run release-plz
2727
uses: MarcoIeni/release-plz-action@v0.5
2828
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
3030
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)