-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
36 lines (36 loc) · 1.31 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
name: 'AutoTagBot'
description: 'Automatically tag commits by extracting the current version from a given source file.'
author: 'Pascal Mathis'
inputs:
api_token:
description: 'This token is being used for authenticating against the GitHub API'
required: true
source_file:
description: 'This source file will be read for extracting the current version.'
required: true
version_pattern:
description: 'This regex pattern is being used for extracting the version from the source file.'
required: true
tag_format:
description: 'The desired tag format, can be used for adding a prefix and/or suffix.'
default: '{version}'
required: false
outputs:
version:
description: 'The extracted version, as specified in the source file.'
tag_name:
description: 'The name of the new tag. Empty if no tag has been created.'
tag_revision:
description: 'The revision of the new tag. Empty if no tag has been created.'
tag_sha:
description: 'The SHA hash of the new tag. Empty if no tag has been created.'
tag_uri:
description: 'The URI/URL of the new tag reference. Empty if no tag has been created.'
release_uri:
description: 'The URI/URL of the new release. Empty if no release has been created.'
runs:
using: 'node12'
main: 'main.js'
branding:
icon: 'tag'
color: 'blue'