Skip to content

Release Drafter

Release Drafter #1

name: Release Drafter
on:
workflow_dispatch:
inputs:
dry-run:
required: true
default: true
type: boolean
release-version:
required: true
type: string
jobs:
release:
name: Release pushed tag
runs-on: ubuntu-latest
steps:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.event.inputs.release-version }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="${GITHUB_REPOSITORY#*/} ${tag#v}" \
--generate-notes