Bump deps and refresh token (#59) #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create release PR or publish GitHub release and Rust crate | |
# These aren’t used since we use secrets.RELEASE_PLZ_TOKEN | |
# that token has these same permissions | |
# see https://release-plz.ieni.dev/docs/github/token#use-a-personal-access-token | |
permissions: | |
pull-requests: write | |
contents: write | |
on: | |
push: | |
branches: [main] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
filter: blob:none | |
token: ${{ secrets.RELEASE_PLZ_TOKEN }} | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: MarcoIeni/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }} | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |