fix: bug with files ignore yaml patterns not filtering the list of files (#2304)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tonye Jack
2024-10-02 13:12:26 -06:00
committed by GitHub
parent 641e22af4a
commit d0cf1645b7
6 changed files with 29 additions and 2 deletions

4
dist/index.js generated vendored
View File

@@ -2743,6 +2743,10 @@ const getYamlFilePatterns = async ({ inputs, workingDirectory }) => {
core.warning(`files_ignore_yaml: Duplicated key ${key} detected, the ${filePatterns[key]} will be overwritten by ${newIgnoreFilePatterns[key]}.`);
}
}
filePatterns = {
...filePatterns,
...newIgnoreFilePatterns
};
}
if (inputs.filesIgnoreYamlFromSourceFile) {
const inputFilesIgnoreYamlFromSourceFile = inputs.filesIgnoreYamlFromSourceFile

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long