Reusable workflow — publishes a draft release or deletes it on failure. Pair with release-start.yml: call this after your gate jobs succeed or fail.
contents:write
name: Release - Finish
on:
push:
branches:
- main
permissions: {}
jobs:
release-finish:
uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-finish.yml@2589abb2627bde4038ac543546a539a827ea2be8 # feat/release-workflows
permissions: {}
with:
# JSON array of runner(s) to use.
# See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job.
#
# Default: `["ubuntu-latest"]`
runs-on: '["ubuntu-latest"]'
# The tag of the draft release to publish or delete (output of the release-start.yml workflow).
# This input is required.
tag: ""
# Set to true to publish the draft, false to delete it.
# Default: `true`
publish: true| Input | Description | Required | Type | Default |
|---|---|---|---|---|
runs-on |
JSON array of runner(s) to use. | false | string | ["ubuntu-latest"] |
| See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job. | ||||
tag |
The tag of the draft release to publish or delete (output of the release-start.yml workflow). | true | string | - |
publish |
Set to true to publish the draft, false to delete it. | false | boolean | true |
Contributions are welcome! Please see the contributing guidelines for more details.
This project is licensed under the MIT License.
SPDX-License-Identifier: MIT
Copyright © 2026 hoverkraft-tech
For more details, see the license.
This documentation was automatically generated by CI Dokumentor.