Skip to content

Commit 6d3559f

Browse files
fix(workflows): broaden allowed-files glob to cover flat tests/safe-outputs layout (#871)
The previous allowed-files entry only matched tests/safe-outputs/<dir>/*.lock.yml (the ** wildcard requires at least one intermediate directory), so the flat tests/safe-outputs/<name>.lock.yml fixtures were rejected by the create_pull_request safe-output policy. Add the flat glob alongside the recursive one so both layouts are covered. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 039e547 commit 6d3559f

2 files changed

Lines changed: 18 additions & 17 deletions

File tree

.github/workflows/recompile-safe-output-fixtures.lock.yml

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/recompile-safe-output-fixtures.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ safe-outputs:
2424
title-prefix: "chore(workflows): "
2525
max: 1
2626
allowed-files:
27+
- "tests/safe-outputs/*.lock.yml"
2728
- "tests/safe-outputs/**/*.lock.yml"
2829
close-pull-request:
2930
required-title-prefix: "chore(workflows): recompile safe-output fixtures"

0 commit comments

Comments
 (0)