Pass github-token to taiki-e/install-action in release-pr.yml

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
Jiahao XU 2024-08-03 14:29:28 +10:00 committed by GitHub
parent 6f3bcf691e
commit f16440575b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,6 +51,8 @@ jobs:
uses: taiki-e/install-action@v2 uses: taiki-e/install-action@v2
with: with:
tool: cargo-release,cargo-semver-checks tool: cargo-release,cargo-semver-checks
env:
GITHUB_TOKEN: ${{ secrets.CI_RELEASE_TEST_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
- run: rustup toolchain install stable --no-self-update --profile minimal - run: rustup toolchain install stable --no-self-update --profile minimal
- uses: cargo-bins/release-pr@v2.1.3 - uses: cargo-bins/release-pr@v2.1.3