Skip to content

Commit

Permalink
Added tag.yaml (#18)
Browse files Browse the repository at this point in the history
Signed-off-by: shubham_G <[email protected]>
  • Loading branch information
shubham17998 authored Nov 16, 2023
1 parent a31721b commit c9d12f4
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit c9d12f4

Please sign in to comment.