From 29d6a9f49b2abc50b2bf75f4e5663c02c54d8a7d Mon Sep 17 00:00:00 2001 From: shubham_G <88794020+shubham17998@users.noreply.github.com> Date: Thu, 16 Nov 2023 12:31:46 +0530 Subject: [PATCH] Update tag.yml Signed-off-by: shubham_G <88794020+shubham17998@users.noreply.github.com> --- .github/workflows/tag.yml | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index c131f5aa..155452ef 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -14,14 +14,28 @@ on: type: string PRE_RELEASE: description: 'Pre-release? True/False' - required: true - default: False + required: false + default: 'false' type: string DRAFT: description: 'Draft? True/False' required: false - default: False + default: 'false' + type: string + ONLY_TAG: + description: "Only Tag" + required: false + type: string + default: 'false' + BRANCH: + description: 'Branch name' + required: true + type: string + LATEST: + description: 'Latest release' + required: false type: string + default: 'true' jobs: tag-branch: @@ -31,5 +45,9 @@ jobs: BODY: ${{ inputs.BODY }} PRE_RELEASE: ${{ inputs.PRE_RELEASE }} DRAFT: ${{ inputs.DRAFT }} + ONLY_TAG: ${{ inputs.ONLY_TAG }} + BRANCH: ${{ inputs.BRANCH }} + LATEST: ${{ inputs.LATEST }} secrets: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} + TOKEN: ${{ secrets.ACTION_PAT }}