You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use this GitHub action to check whether your npm package version has been updated: this can be extremely helpful if you want to automate your release process.
@@ -23,7 +25,7 @@ You have to set up a step like this in your workflow (this assumes you've alread
23
25
with:
24
26
# All these parameters are optional,
25
27
# check their descriptions to see if you need them.
26
-
28
+
27
29
# Whether to search in every commit's diff.
28
30
# This is useful if you often do change the version without saying it in the
29
31
# commit message. If you always include the semver of the new version in your
@@ -40,7 +42,7 @@ You have to set up a step like this in your workflow (this assumes you've alread
40
42
# You can put your bearer GitHub token here. This is needed only when running
41
43
# the action on private repostiories, if you're running it on a public repo you
42
44
# can omit this.
43
-
# If you need to set this, you can use the built-in `GITHUB_TOKEN` secret that
45
+
# If you need to set this, you can use the built-in `GITHUB_TOKEN` secret that
44
46
# GitHub generates for your repo's actions: you can find more info about it here:
@@ -86,7 +88,7 @@ Please note that even if the action is built to be easier as possible to use, it
86
88
### Outputs
87
89
88
90
- `changed`: either "true" or "false", indicates whether the version has changed.
89
-
- `type`: if the version has changed, it tries to find the type of bump (e.g. "patch", "minor", ...)
91
+
- `type`: if the version has changed, it tries to find the type of bump (e.g. "patch", "minor", ...). To see the full list of available types, please refer to the [`semver-diff` docs](https://github.com/sindresorhus/semver-diff/blob/1f2ac09e19213122094b9c49c7ac9bf4089da93b/readme.md)
90
92
- `version`: if the version has changed, it shows the version number (e.g. "1.0.2")
91
93
- `commit`: if the version has changed, it shows the sha of the commit where the change has been found.
0 commit comments