From 4b3874dbdca888cf747c805fea6d4c4db0637deb Mon Sep 17 00:00:00 2001 From: syed salman Date: Fri, 3 Nov 2023 13:19:54 +0530 Subject: [PATCH] [MOSIP-30055] updated tag.yaml [MOSIP-25631] 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..9afcfb4b6 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.TOKEN }} \ No newline at end of file