We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acd8e59 commit dd32bb7Copy full SHA for dd32bb7
main.ts
@@ -52,7 +52,7 @@ if (baseRef) {
52
console.log(changedFiles);
53
54
const changedIds = [...new Set(changedFiles
55
- .map((x) => x.match(/src\/(.*?)\//)?.[1])
+ .map((x) => x.match(/(?:src|test)\/(.*?)\//)?.[1])
56
.filter((x) => x))].filter(x => allFeatures.map(y => y.id).includes(x));
57
58
changedFeatures = (
@@ -70,5 +70,5 @@ core.setOutput("changed-features", JSON.stringify(changedFeatures));
70
if (changedFeatures.length) {
71
core.setOutput("relevant-features", JSON.stringify(changedFeatures))
72
} else {
73
- core.setOutput("relevant-features", JSON.stringify(features))
+ core.setOutput("relevant-features", JSON.stringify(allFeatures))
74
}
0 commit comments