forked from jimschubert/query-tag-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
36 lines (36 loc) · 933 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: 'Check for Tag'
description: 'Queries for a git tag using git describe --tags'
author: 'Mark Phippard'
inputs:
include:
description: 'Glob pattern of tags to include'
required: false
default: '*'
exclude:
description: 'Glob pattern of tags to exclude'
required: false
commit-ish:
description: 'Commit-ish object names to describe'
required: false
default: 'HEAD~'
skip-unshallow:
description: 'Skip the unshallow operation: "true" or "false"'
required: false
default: 'false'
exact-match:
description: 'Only output exact matches: "true" or "false"'
required: false
default: 'false'
no-tags-text:
description: 'Text to output if no tags were found'
required: false
default: 'NO_TAGS'
outputs:
tag:
description: 'The found tag or the value of no-tags-text'
runs:
using: 'node12'
main: 'main.js'
branding:
icon: 'hash'
color: 'blue'