From 98d9d9dd012a1fe95aab702f0e40e928f15049ba Mon Sep 17 00:00:00 2001 From: shubham_G <88794020+shubham17998@users.noreply.github.com> Date: Thu, 9 Nov 2023 13:17:25 +0530 Subject: [PATCH] Add files via upload 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 000000000..5a306795c --- /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