Skip to content

Commit

Permalink
Specify version in required in other places, add possibility to trigg…
Browse files Browse the repository at this point in the history
…er this manually
  • Loading branch information
Maffooch authored Jan 16, 2024
1 parent 02f225e commit 0f46bf8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
name: Release Drafter

on:
workflow_dispatch:
inputs:
version:
description: |
The version to be associated with the GitHub release that's created or updated.
This will override any version calculated by the release-drafter.
required: true
workflow_call:
inputs:
version:
type: string
description: |
The version to be associated with the GitHub release that's created or updated.
This will override any version calculated by the release-drafter.
required: false
required: true

jobs:
# Update the notes in the release drafter first
Expand Down Expand Up @@ -60,4 +67,4 @@ jobs:
asset_name: oas.json
asset_content_type: application/json



0 comments on commit 0f46bf8

Please sign in to comment.