generated from remal-github-actions/template-typescript
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
36 lines (33 loc) · 962 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Create Git tag
description: Create Git tag for current commit
inputs:
githubToken:
required: true
description: GitHub access token with at least 'public_repo' (use 'repo' scope instead of 'public_repo' for private repositories)
tagName:
required: true
description: Git tag name
message:
required: false
description: Git tag message
committerName:
required: false
description: Committer name
committerEmail:
required: false
description: Committer email
forcePush:
required: true
default: 'false'
description: Set to 'true' to enable force push
remoteBranch:
required: false
description: Branch to check if remote repository has been changed
outputs:
result:
description: |
'remote-changed' - remote repository branch has been changed, push-back is skipped;
'tagged-successfully' - tag has been created successfully;
runs:
using: node20
main: 'dist/index.js'