Skip to content

Merge pull request #41 from RAprogramm/release-plz-2026-07-03T02-50-45Z #29

Merge pull request #41 from RAprogramm/release-plz-2026-07-03T02-50-45Z

Merge pull request #41 from RAprogramm/release-plz-2026-07-03T02-50-45Z #29

Workflow file for this run

name: Release-plz
on:
push:
branches:
- main
permissions:
contents: read
concurrency:
group: release-plz-${{ github.ref }}
cancel-in-progress: false
jobs:
release-plz-release:
name: Release-plz release
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'RAprogramm' }}
environment: release
permissions:
contents: read
id-token: write
timeout-minutes: 30
steps:
- name: Mint GitHub App token
id: app_token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ secrets.RELEASE_PLZ_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_PLZ_APP_PRIVATE_KEY }}
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
token: ${{ steps.app_token.outputs.token }}
- name: Install stable Rust
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
- name: Authenticate to crates.io
id: crates_auth
uses: rust-lang/crates-io-auth-action@c6f97d42243bad5fab37ca0427f495c86d5b1a18 # v1
- name: Run release-plz
uses: release-plz/action@e8792575c7f2366cf6ff3ccc33ead9ace5b691c7 # v0.5
with:
command: release
env:
GITHUB_TOKEN: ${{ steps.app_token.outputs.token }}
CARGO_REGISTRY_TOKEN: ${{ steps.crates_auth.outputs.token }}
release-plz-pr:
name: Release-plz PR
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'RAprogramm' }}
needs: release-plz-release
timeout-minutes: 30
steps:
- name: Mint GitHub App token
id: app_token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ secrets.RELEASE_PLZ_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_PLZ_APP_PRIVATE_KEY }}
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
token: ${{ steps.app_token.outputs.token }}
- name: Install stable Rust
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
- name: Run release-plz
uses: release-plz/action@e8792575c7f2366cf6ff3ccc33ead9ace5b691c7 # v0.5
with:
command: release-pr
env:
GITHUB_TOKEN: ${{ steps.app_token.outputs.token }}