generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
32 lines (32 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
name: 'Tag based on milestone title'
description: 'Tag the repository on pull request merge. Tag name is based on the attached milestone title.'
author: 'swisstopo'
inputs:
github_token:
required: true
description: 'Github repository token'
custom_tag:
default: '${MILESTONE}'
description: 'Custom Tag'
initial_tag_number:
default: 1
description: 'Initial tag number'
milestone_pattern:
default: '.+?'
description: 'Milestone pattern used to search previous tag'
milestone:
default: null
description: 'Milestone value to use for tag (overwrite the value attached to the PR)'
dry_run:
default: false
description: 'Dry run for testing, do not create the tag if set to true.'
outputs:
new_tag:
description: 'New tag'
previous_tag:
description: 'Previous tag'
tag_created:
description: '"true" if a tag has been created, "false" otherwise'
runs:
using: 'node20'
main: 'dist/index.js'