Skip to content

Cleanup Release Draft #45

Cleanup Release Draft

Cleanup Release Draft #45

name: Cleanup Release Draft
on:
workflow_run:
workflows: ["Release Drafter (v3 packages)"]
types: [completed]
workflow_dispatch:
inputs:
tag:
description: 'Tag or name of a specific draft (empty = all drafts)'
required: false
type: string
default: ''
permissions:
contents: read
concurrency:
group: cleanup-release-draft-${{ github.repository }}
cancel-in-progress: true
jobs:
cleanup:
runs-on: ubuntu-latest
if: >-
github.event.workflow_run.conclusion == 'success' ||
github.event_name == 'workflow_dispatch'
permissions:
contents: write
steps:
- uses: gofiber/.github/.github/actions/cleanup-release-draft@main
with:
tag: ${{ inputs.tag }}