diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d6e4474e9..7d51fa43e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,13 +5,16 @@ on: workflow_dispatch: inputs: revision: + type: string description: 'Release version' default: '0-SNAPSHOT' override_tag: + type: boolean description: 'If to move the tag if already exists' default: false required: false dry_run: + type: boolean description: 'If to skip publishing the release to central repository' default: false required: false diff --git a/.github/workflows/release_tag.yaml b/.github/workflows/release_tag.yaml index 67409d160..ea700846b 100644 --- a/.github/workflows/release_tag.yaml +++ b/.github/workflows/release_tag.yaml @@ -5,12 +5,13 @@ on: workflow_dispatch: inputs: revision: + type: string description: 'Release version' default: '0-SNAPSHOT' override_tag: + type: boolean description: 'If to move the tag if already exists' default: false - required: false permissions: contents: write @@ -36,4 +37,4 @@ jobs: with: tag_name: ${{ inputs.revision }} tag_message: "Release version ${{ inputs.revision }}" - override_tag: ${{ github.event.inputs.override_tag }} \ No newline at end of file + override_tag: ${{ inputs.override_tag }} \ No newline at end of file diff --git a/.github/workflows/reusable_workflow_tag.yaml b/.github/workflows/reusable_workflow_tag.yaml index 620f7e7eb..d27dddc4f 100644 --- a/.github/workflows/reusable_workflow_tag.yaml +++ b/.github/workflows/reusable_workflow_tag.yaml @@ -9,12 +9,11 @@ on: required: true tag_message: type: string - description: '' - required: false + description: 'Tag message (optional), e.g. "Release version 1.0.0"' + default: '' override_tag: type: boolean description: 'If to override the tag if already exists' - required: false default: false jobs: