From 186cc5218212679513edb68074f0acd36006f33b Mon Sep 17 00:00:00 2001 From: shubham_G <88794020+shubham17998@users.noreply.github.com> Date: Tue, 14 Nov 2023 13:08:17 +0530 Subject: [PATCH] Update tag.yml Signed-off-by: shubham_G <88794020+shubham17998@users.noreply.github.com> --- .github/workflows/tag.yml | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 73c55b03..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: @@ -30,4 +44,10 @@ jobs: TAG: ${{ inputs.TAG }} BODY: ${{ inputs.BODY }} PRE_RELEASE: ${{ inputs.PRE_RELEASE }} - DRAFT: ${{ inputs.DRAFT }} \ No newline at end of file + 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 }}