Skip to content

fix(.github/workflows): use literal pathspec when materializing PR module content - #1070

Merged
bpmct merged 1 commit into
mainfrom
bpmct/fix-scorecard-materialize
Aug 20, 2026
Merged

fix(.github/workflows): use literal pathspec when materializing PR module content#1070
bpmct merged 1 commit into
mainfrom
bpmct/fix-scorecard-materialize

Conversation

@bpmct

@bpmct bpmct commented Aug 20, 2026

Copy link
Copy Markdown
Member

Follow-up to #1069. The /scorecard run on #1068 detected droopy4096/mise-install correctly but failed at the materialize step:

error: pathspec 'registry/*/modules' did not match any file(s) known to git

Wildcard pathspecs don't directory-prefix match the way literal paths do, so registry/*/modules matched nothing. Fixed by overlaying the whole registry/ tree instead, which is simpler and equally safe: it's all inert data read as text for the scoring prompt, and everything under .github/ stays at the trusted base.

Verified locally against refs/pull/1068/merge: the checkout now materializes registry/droopy4096/modules/mise-install.

🤖 Generated with Coder Agents on behalf of @bpmct

@bpmct
bpmct merged commit 835b2f6 into main Aug 20, 2026
6 checks passed
@bpmct
bpmct deleted the bpmct/fix-scorecard-materialize branch August 20, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants