Update workflows/tag.yaml
This commit is contained in:
parent
70e34ed692
commit
30d195045e
@ -1,10 +1,16 @@
|
|||||||
name: Tag Repository
|
name: Tag Repository
|
||||||
on: push
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
branch:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tag:
|
tag:
|
||||||
name: Tag Repository
|
name: Tag Repository
|
||||||
if: $GITHUB_REF_NAME == 'develop'
|
if: $GITHUB_REF_NAME == "${{ inputs.branch }}"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: ztimson/actions/git/checkout@develop
|
- uses: ztimson/actions/git/checkout@develop
|
Loading…
Reference in New Issue
Block a user