Skip to content

Latest commit

 

History

History
112 lines (80 loc) · 3.74 KB

File metadata and controls

112 lines (80 loc) · 3.74 KB

GitHub Reusable Workflow: Release - Finish

Release - Finish

Release License Stars PRs Welcome

Overview

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.

Permissions

  • contents: write

Usage

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

Inputs

Workflow Call Inputs

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

Contributing

Contributions are welcome! Please see the contributing guidelines for more details.

License

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.