generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
32 lines (32 loc) · 1.14 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
name: Find Latest Tag
description: Find the latest tag in a GitHub repository
inputs:
repository:
description: Repository name with owner. E.g. actions/checkout
required: true
releases-only:
description: If true, consider only tags that have an associated release
default: "false"
prefix:
description: Consider only tags starting with this string prefix
regex:
description: Consider only tags that matches specified RegEx pattern.
sort-tags:
description: |
If true, look through all tags to find the greatest (semver-like) version, else just get the most recent tag.
Defaults to true (strongly recommended), or to false if *releases-only* is enabled
default: "true"
token:
description: Personal access token (auto-populated). It is used only because anonymous requests are rate-limited. It can be overridden to an empty value.
default: ${{ github.token }}
excludes:
description: Comma-separated list of tags that should be ignored
outputs:
tag:
description: The full tag name (incl. prefix) that was found
runs:
using: node16
main: dist/index.js
branding:
icon: tag
color: blue