From bc0391e0638e986ffa58af576cd3709810352d96 Mon Sep 17 00:00:00 2001 From: syed salman <72004356+syedsalman3753@users.noreply.github.com> Date: Mon, 6 Nov 2023 10:37:51 +0530 Subject: [PATCH] [MOSIP-30055] updated tag.yaml (#453) * [MOSIP-30055] updated tag.yaml [MOSIP-25631] Signed-off-by: syed salman * [MOSIP-30055] updated tag.yaml [MOSIP-25631] Signed-off-by: syed salman --------- Signed-off-by: syed salman --- .github/workflows/tag.yaml | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index 32e5db368..155452efd 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -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 }} + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} + TOKEN: ${{ secrets.ACTION_PAT }}