This repository was archived by the owner on Oct 7, 2026. It is now read-only.
Repository navigation
Release #109
This file contains hidden or 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: Release | |
| on: | |
| workflow_run: | |
| workflows: ["CI"] | |
| types: | |
| - completed | |
| branches: | |
| - main | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| release: | |
| if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| id-token: write | |
| uses: btravstack/tools/.github/workflows/release-reusable.yml@workflows-v1 | |
| with: | |
| # The exact commit the green CI run measured. Without it a `workflow_run` | |
| # checkout takes the default branch's CURRENT tip, which a push landing | |
| # after CI went green can have moved — publishing a permanent tarball | |
| # from a commit no CI run validated. | |
| ref: ${{ github.event.workflow_run.head_sha }} | |
| secrets: | |
| RELEASE_PAT: ${{ secrets.RELEASE_PAT }} |