From 5e2b4bbd0d496eaa0e066df36c97774d68463d6c Mon Sep 17 00:00:00 2001 From: Dario Lencina Date: Tue, 7 Jul 2026 00:33:50 -0700 Subject: [PATCH] release-plz: align with the battle-tested videocall-rs setup PAT (RELEASE_PLZ_TOKEN) used in the release job too, so tags/releases can trigger downstream workflows; pr_branch_prefix/pr_labels/publish_timeout; protect_breaking_commits in the changelog config. Co-Authored-By: Claude Fable 5 --- .github/workflows/release-plz.yml | 3 ++- release-plz.toml | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index 52adf3c..5ae4a98 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -38,11 +38,12 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + token: ${{ secrets.RELEASE_PLZ_TOKEN }} - uses: dtolnay/rust-toolchain@stable - name: Run release-plz uses: release-plz/action@v0.5 with: command: release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/release-plz.toml b/release-plz.toml index 7b07dbf..823b9d7 100644 --- a/release-plz.toml +++ b/release-plz.toml @@ -3,6 +3,9 @@ changelog_update = true git_release_enable = false git_tag_enable = false semver_check = true +pr_branch_prefix = "release-plz-" +pr_labels = ["release"] +publish_timeout = "10m" # The CLI crate is the user-facing release: it gets the GitHub release + tag. [[package]] @@ -11,3 +14,6 @@ git_release_enable = true git_tag_enable = true git_tag_name = "v{{ version }}" git_release_name = "v{{ version }}" + +[changelog] +protect_breaking_commits = true