Skip to content

Draft Release

Draft Release #1

Workflow file for this run

name: Draft Release
on:
workflow_dispatch:
inputs:
TAG_VERSION:
description: Version of the tag
required: true
RELEASE_MESSAGE:
description: Release message
required: false
env:
TAG_VERSION: ${{ github.event.inputs.TAG_VERSION }}
permissions:
contents: write
jobs:
ci:
name: CI Job
uses: ./.github/workflows/ci.yml
update_tag:
name: Update Tag Job
runs-on: ubuntu-latest
needs: [ci]
permissions:
contents: write
steps:
- name: Create a release
uses: ncipollo/release-action@v1
with:
tag: ${{ env.TAG_VERSION }}
name: Release ${{ github.event.inputs.TAG_VERSION }}
draft: true
body: ${{ github.event.inputs.RELEASE_MESSAGE }}
generateReleaseNotes: true