1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Release
# verctl's reusable release workflow, on every push to main and on demand.
# It plans every version commit not yet fully released and publishes each at
# that commit, whatever main's HEAD is now, then opens or updates the Version
# PR on verctl/release/main. Only the operator merges the Version PR.
on:
push:
branches:
workflow_dispatch:
# One release run at a time. A newer run waits instead of cancelling one that
# may be publishing; it plans every unreleased version commit, so the queued
# run covers what any skipped one would have. The "-caller" part keeps this
# group apart from the called workflow's own group.
concurrency:
group: ${{ github.workflow }}-caller-${{ github.ref }}
cancel-in-progress: false
permissions:
jobs:
release:
permissions:
contents: write # tags, Releases, and verctl/release/main without the App
pull-requests: write # the Version PR without the App
id-token: write # crates.io trusted publishing
uses: victor-software-house/verctl/.github/workflows/release.yml@e06503d01ceb0b04ba50e2d234583f002db22951 # v0.8.6-rc.5
with:
mise-version: 2026.11.12
mise-env: ci,release
crates-io-trusted-publishing: true
# The App token opens the Version PR so that its CI starts; a PR opened
# with GITHUB_TOKEN starts no workflow.
secrets:
app-client-id: ${{ secrets.CHANGESET_VERSION_APP_CLIENT_ID }}
app-private-key: ${{ secrets.CHANGESET_VERSION_APP_PRIVATE_KEY }}