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
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,7 @@ The action can be configured using the following settings:
50
50
|`MajorLabels`| A comma separated list of labels that trigger a major release. |`major, breaking`| false |
51
51
|`MinorLabels`| A comma separated list of labels that trigger a minor release. |`minor, feature`| false |
52
52
|`PatchLabels`| A comma separated list of labels that trigger a patch release. |`patch, fix`| false |
53
+
|`ReleaseFiles`| A comma separated list of file patterns (glob) that warrant a new release when changed. If specified and a pull request does not change any matching files, the release will be skipped. |`''`| false |
53
54
|`UsePRTitleAsReleaseName`| When enabled, uses the pull request title as the name for the GitHub release. |`false`| false |
54
55
|`UsePRBodyAsReleaseNotes`| When enabled, uses the pull request body as the release notes for the GitHub release. |`true`| false |
55
56
|`UsePRTitleAsNotesHeading`| When enabled, the release notes will begin with the pull request title as a H1 heading followed by the pull request body. The title will include a reference to the PR number. |`true`| false |
@@ -70,10 +71,11 @@ The action's configuration can be changed by altering the settings in the config
70
71
```yaml
71
72
DatePrereleaseFormat: 'yyyyMMddHHmm'
72
73
IncrementalPrerelease: false
74
+
ReleaseFiles: 'action.yml, src/**'
73
75
VersionPrefix: ''
74
76
```
75
77
76
-
This example uses the date format for the prerelease, disables the incremental prerelease and removes the version prefix.
78
+
This example uses the date format for the prerelease, disables the incremental prerelease, only triggers releases for changes to `action.yml` and files under `src/`, and removes the version prefix.
Copy file name to clipboardExpand all lines: action.yml
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,10 @@ inputs:
50
50
description: A comma separated list of labels that trigger a patch release.
51
51
required: false
52
52
default: patch, fix
53
+
ReleaseFiles:
54
+
description: A comma separated list of file patterns (glob) that warrant a new release when changed. If specified and a pull request does not change any matching files, the release will be skipped.
55
+
required: false
56
+
default: ''
53
57
UsePRTitleAsReleaseName:
54
58
description: When enabled, uses the pull request title as the name for the GitHub release.
0 commit comments