Sourced from actions/labeler's releases.
v5.0.0
What's Changed
This release contains the following breaking changes:
The ability to apply labels based on the names of base and/or head branches was added (#186 and #54). The match object for changed files was expanded with new combinations in order to make it more intuitive and flexible (#423 and #101). As a result, the configuration file structure was significantly redesigned and is not compatible with the structure of the previous version. Please read the action documentation to find out how to adapt your configuration files for use with the new action version.
The bug related to the
sync-labelsinput was fixed (#112). Now the input value is read correctly.By default,
dotinput is set totrue. Now, paths starting with a dot (e.g..github) are matched by default.Version 5 of this action updated the runtime to Node.js 20. All scripts are now run with Node.js 20 instead of Node.js 16 and are affected by any breaking changes between Node.js 16 and 20.
For more information, please read the action documentation.
New Contributors
@joshdalesmade their first contribution in actions/labeler#203@dusan-trickovicmade their first contribution in actions/labeler#626@sungh0limmade their first contribution in actions/labeler#630@TrianguloYmade their first contribution in actions/labeler#629Full Changelog: https://github.com/actions/labeler/compare/v4...v5.0.0
v5.0.0-beta.1
What's Changed
In scope of this beta release, the structure of the configuration file (
.github/labeler.yml) was changed fromLabelName: - any: - changed-files: ['list', 'of', 'globs'] - base-branch: ['list', 'of', 'regexps'] - head-branch: ['list', 'of', 'regexps'] - all: - changed-files: ['list', 'of', 'globs'] - base-branch: ['list', 'of', 'regexps'] - head-branch: ['list', 'of', 'regexps']to
LabelName: - any: - changed-files: - AnyGlobToAnyFile: ['list', 'of', 'globs'] - AnyGlobToAllFiles: ['list', 'of', 'globs'] - AllGlobsToAnyFile: ['list', 'of', 'globs'] - AllGlobsToAllFiles: ['list', 'of', 'globs'] - base-branch: ['list', 'of', 'regexps'] - head-branch: ['list', 'of', 'regexps'] - all: - changed-files: - AnyGlobToAnyFile: ['list', 'of', 'globs'] - AnyGlobToAllFiles: ['list', 'of', 'globs'] - AllGlobsToAnyFile: ['list', 'of', 'globs'] </tr></table>
... (truncated)
8558fd7 Merge pull request #709 from actions/v5.0.0-beta000ca75 Merge pull request #700 from MaksimZhukov/apply-suggestions-and-update-docume...cb66c2f Update dist9181355 Apply suggestions for the beta vesrion and update the documentationefe4c1c Merge pull request #699 from MaksimZhukov/update-node-runtime-and-dependenciesc0957ad Run Prettier8dc8d18 Update Node.js version in reusable workflowsd0d0bbe Update documentation1375c42 5.0.0ab7411e Change version of Node.js runtime to node20