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