forked from EndBug/version-check
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
41 lines (37 loc) · 1.35 KB
/
action.yml
File metadata and controls
41 lines (37 loc) · 1.35 KB
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: Version Check
author: Federico Grandi
description: An action that allows you to check whether your npm package version has been updated
inputs:
diff-search:
description: Whether to search the bump commit using diffs (recommended ONLY if not using standard 'npm version' commits)
required: false
file-name:
description: A custom path to the package.json file
required: false
file-url:
description: A URL to use to fetch the package file, instead of loading the local file
required: false
assume-same-version:
description: Whether to use the version fetched from the package file as the old one or the new one (instead of looking at the diffs)
required: false
static-checking:
description: Whether to check the package from the file-url against the local package, instead of running the usual checks
required: false
token:
description: A GitHub token to use when running on private repos
required: false
outputs:
changed:
description: Whether the version has changed in the examined commits
type:
description: The type of version change, if detectable (e.g. 'patch')
version:
description: The detected version number
commit:
description: The SHA of the commit where the version change has been detected
runs:
using: node12
main: "lib/index.js"
branding:
icon: package
color: green