mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-06 09:41:22 +00:00
Updated README.md (#1264)
Co-authored-by: jackton1 <jackton1@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
parent
341b80da8b
commit
d144c0c92d
3 changed files with 5 additions and 5 deletions
|
@ -243,11 +243,11 @@ This GitHub Action follows the principles of [Semantic Versioning](https://semve
|
||||||
|
|
||||||
The format of the version string is as follows:
|
The format of the version string is as follows:
|
||||||
|
|
||||||
- major: indicates significant changes or new features that may not be backward compatible.
|
* major: indicates significant changes or new features that may not be backward compatible.
|
||||||
|
|
||||||
- minor: indicates minor changes or new features that are backward compatible.
|
* minor: indicates minor changes or new features that are backward compatible.
|
||||||
|
|
||||||
- patch: indicates bug fixes or other small changes that are backward compatible.
|
* patch: indicates bug fixes or other small changes that are backward compatible.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
@ -1600,9 +1600,9 @@ const getFilteredChangedFiles = ({ allDiffFiles, filePatterns }) => __awaiter(vo
|
||||||
[changedFiles_1.ChangeTypeEnum.Unmerged]: [],
|
[changedFiles_1.ChangeTypeEnum.Unmerged]: [],
|
||||||
[changedFiles_1.ChangeTypeEnum.Unknown]: []
|
[changedFiles_1.ChangeTypeEnum.Unknown]: []
|
||||||
};
|
};
|
||||||
|
const hasFilePatterns = filePatterns.length > 0;
|
||||||
for (const changeType of Object.keys(allDiffFiles)) {
|
for (const changeType of Object.keys(allDiffFiles)) {
|
||||||
const files = allDiffFiles[changeType];
|
const files = allDiffFiles[changeType];
|
||||||
const hasFilePatterns = filePatterns.length > 0;
|
|
||||||
if (hasFilePatterns) {
|
if (hasFilePatterns) {
|
||||||
changedFiles[changeType] = (0, micromatch_1.default)(files, filePatterns, {
|
changedFiles[changeType] = (0, micromatch_1.default)(files, filePatterns, {
|
||||||
dot: true,
|
dot: true,
|
||||||
|
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue