generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
52 lines (52 loc) · 1.55 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: 'SemRelease'
author: 'Thanh Nguyen <btnguyen2k(at)gmail(dot)com>'
description: 'Publish releases using tags, following sematic versioning'
branding:
icon: 'git-pull-request'
color: 'red'
inputs:
github-token:
description: 'GitHub token with access to your repository scoped in as a secret'
required: true
dry-run:
description: 'Dry run flag'
required: false
default: 'false'
tag-prefix:
description: 'Tag prefix, e.g. v'
required: false
default: 'v'
tag-major-release:
description: 'If set, a major release tag will be created, e.g. v1'
required: false
default: 'true'
tag-minor-release:
description: 'If set, a minor release tag will be created, e.g. v1.2'
required: false
default: 'false'
auto-mode:
description: 'If set, next release version is automatically determined, ignoring the information in RELEASE-NOTES or CHANGELOG file'
required: false
default: 'false'
branches:
description: 'Branches to fetch commit messages for release notes (auto-mode only)'
required: false
default: 'main,master'
path:
description: 'Scan only commits containing this file path (auto-mode only)'
required: false
default: ''
tag-only:
description: 'If set, only tags are created'
required: false
default: 'false'
outputs:
releaseVersion:
description: 'The released version string'
releaseNotes:
description: 'The release notes'
result:
description: 'Action result, either FAILED, SKIPPED, or SUCCESS'
runs:
using: 'node20'
main: 'dist/index.js'