-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathaction.yml
41 lines (41 loc) · 1.22 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
name: 'Updates dependencies automatically'
description: 'Updates dependencies in code to latest semantic ver release. (e.g. TOOL_NAME_VERSION=0.9.17 in Dockerfile)'
author: 'haya14busa'
inputs:
github_token:
description: 'GITHUB_TOKEN to get latest version with GitHub Release API'
default: '${{ github.token }}'
file:
description: 'target file'
required: true
version_name:
description: 'target version name. e.g. REVIEWDOG_VERSION'
required: true
repo:
description: 'target GitHub repository. e.g. reviewdog/reviewdog'
required: true
tag:
description: 'Check tags instead of releases.'
default: 'false'
required: false
include:
description: 'Regular expression to use only matched versions.'
required: false
exclude:
description: 'Regular expression not to use matched versions.'
default: '\b(rc|alpha|beta)(\b|\d+)'
required: false
outputs:
current:
description: 'current version'
latest:
description: 'latest version'
repo:
description: 'target GitHub repository. Same as the repo from input.'
runs:
using: 'docker'
image: 'Dockerfile'
# Ref: https://haya14busa.github.io/github-action-brandings/
branding:
icon: 'refresh-cw'
color: 'orange'