Merge pull request #5100 from adriadam10/ci/dispatch-gate-matrices

ci(build): run relinker and context matrices on dispatch only when touched
This commit is contained in:
Adrià authored and GitHub committed 2026-10-13 13:42:58 +02:00
commit 99e4dfefe7
1 file changed
+1 -1
+1 -1
View File
@@ -103,7 +103,7 @@ jobs:
}
const files = await github.paginate(github.rest.pulls.listFiles, { owner, repo, pull_number, per_page: 100 });
const paths = files.flatMap((file) => [file.filename, file.previous_filename].filter(Boolean));
const touches = (...prefixes) => manual || files.length >= 3000 ||
const touches = (...prefixes) => files.length >= 3000 ||
paths.some((path) => prefixes.some((prefix) => prefix.endsWith('/') ? path.startsWith(prefix) : path === prefix));
const workflow = '.github/workflows/build.yml';
const libc = 'core/libs/prx/libc/';