Debian Codegraph @

.github/workflows/cleanup-release-draft.yml

raw symbols SCIP
1 name: Cleanup Release Draft
2
3 on:
4 workflow_run:
5 workflows: ["Release Drafter"]
6 types: [completed]
7 workflow_dispatch:
8 inputs:
9 tag:
10 description: 'Tag or name of a specific draft (empty = all drafts)'
11 required: false
12 type: string
13 default: ''
14
15 permissions:
16 contents: read
17
18 concurrency:
19 group: cleanup-release-draft-${{ github.repository }}
20 cancel-in-progress: true
21
22 jobs:
23 cleanup:
24 runs-on: ubuntu-latest
25 timeout-minutes: 15
26 if: >-
27 github.event.workflow_run.conclusion == 'success' ||
28 github.event_name == 'workflow_dispatch'
29 permissions:
30 contents: write
31 steps:
32 - uses: gofiber/.github/.github/actions/cleanup-release-draft@main
33 with:
34 tag: ${{ inputs.tag }}