mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-23 00:00:15 +02:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
58 lines
1.6 KiB
YAML
58 lines
1.6 KiB
YAML
name: Release-plz
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- v0.8.x
|
|
|
|
jobs:
|
|
# Release unpublished packages.
|
|
release-plz-release:
|
|
name: Release-plz release
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository_owner == 'tokio-rs' }}
|
|
permissions:
|
|
contents: write
|
|
pull-requests: read
|
|
id-token: write
|
|
steps:
|
|
- &checkout
|
|
name: Checkout repository
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
- &install-rust
|
|
name: Install Rust toolchain
|
|
uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # stable
|
|
with:
|
|
toolchain: stable
|
|
- name: Run release-plz
|
|
uses: release-plz/action@e8792575c7f2366cf6ff3ccc33ead9ace5b691c7 # v0.5
|
|
with:
|
|
command: release
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
# Create a PR with the new versions and changelog, preparing the next release.
|
|
release-plz-pr:
|
|
name: Release-plz PR
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository_owner == 'tokio-rs' }}
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
concurrency:
|
|
group: release-plz-${{ github.ref }}
|
|
cancel-in-progress: false
|
|
steps:
|
|
- *checkout
|
|
- *install-rust
|
|
- name: Run release-plz
|
|
uses: release-plz/action@e8792575c7f2366cf6ff3ccc33ead9ace5b691c7 # v0.5
|
|
with:
|
|
command: release-pr
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|