From c9d12f4ce375b1b823c4ee8f092cd5f5dffde70a Mon Sep 17 00:00:00 2001 From: shubham_G <88794020+shubham17998@users.noreply.github.com> Date: Thu, 16 Nov 2023 13:10:41 +0530 Subject: [PATCH] Added tag.yaml (#18) Signed-off-by: shubham_G <88794020+shubham17998@users.noreply.github.com> --- .github/workflows/tag.yaml | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/tag.yaml diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml new file mode 100644 index 0000000..5a30679 --- /dev/null +++ b/.github/workflows/tag.yaml @@ -0,0 +1,53 @@ +name: Tagging of repos + +on: + workflow_dispatch: + inputs: + TAG: + description: 'Tag to be published' + required: true + type: string + BODY: + description: 'Release body message' + required: true + default: 'Changes in this Release' + type: string + PRE_RELEASE: + description: 'Pre-release? True/False' + required: false + default: 'false' + type: string + DRAFT: + description: 'Draft? True/False' + required: 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: + uses: mosip/kattu/.github/workflows/tag.yml@master + with: + TAG: ${{ inputs.TAG }} + 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 }} \ No newline at end of file