Skip to content

Commit fdde883

Browse files
committed
ci: re-run catalog previews when the containment module changes
Rames' non-blocking note on #2975. The paths filter listed the renderer but not scripts/registry-target-paths.mjs, which it imports — so a future change to the path-traversal defence alone would never re-run the only job that exercises it. That is the same shape as the bug the module exists to prevent: the check is present, the thing that would catch a regression in it is not wired to run.
1 parent 84c477c commit fdde883

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/catalog-previews.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
- "registry/blocks/**"
1616
- "registry/components/**"
1717
- "scripts/generate-catalog-previews.ts"
18+
# The containment module the renderer imports. Without it a change to
19+
# path-traversal defence alone never re-runs the job that exercises it.
20+
- "scripts/registry-target-paths.mjs"
1821
- ".github/workflows/catalog-previews.yml"
1922

2023
concurrency:

0 commit comments

Comments
 (0)