Josh McKinney 2025-07-12 14:11:34 -07:00 committed by GitHub
parent ae43ea796a
commit 821611f76f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,6 +17,7 @@ jobs:
permissions: permissions:
pull-requests: write pull-requests: write
contents: write contents: write
id-token: write
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'ratatui' }} if: ${{ github.repository_owner == 'ratatui' }}
steps: steps:
@ -29,13 +30,15 @@ jobs:
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b # master uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b # master
with: with:
toolchain: stable toolchain: stable
- uses: rust-lang/crates-io-auth-action@63a7064947ceca9989005e118db3a5fecdc9259f # v1
id: auth
- name: Run release-plz - name: Run release-plz
uses: release-plz/action@8724d33cd97b8295051102e2e19ca592962238f5 # v0.5 uses: release-plz/action@8724d33cd97b8295051102e2e19ca592962238f5 # v0.5
with: with:
command: release command: release
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
# Create a PR with the new versions and changelog, preparing the next release. # Create a PR with the new versions and changelog, preparing the next release.
release-plz-pr: release-plz-pr: