summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMorgan Lunt <morganl@anthropic.com>2026-07-20 17:01:56 -0700
committerMorgan Lunt <morganl@anthropic.com>2026-07-20 17:01:56 -0700
commit1b261ab8b94a07e9f31a2ace939ca3e96d9b719c (patch)
tree29de0fee0447d6e79036cb56e3cbf3e2ec36d760 /.github/workflows
parenta41296f255f75b7d35d698b08ca47b7e58a6435f (diff)
receipts: show a sample receipt in the READMEmorganl/receipts-sample
You can't tell what this produces from a description, and the obvious way to show it — screenshot a real run — would put someone's actual repo names in a public README. So the sample is generated: assets/make-sample.mjs builds a throwaway HOME of invented repos, invented files and invented sessions, and the real miner runs against that. The picture is what the tool genuinely produces, from data that never existed. The generator ships next to the asset so the next person can regenerate rather than edit a screenshot. Also widen validate's path filter. It's a required check, so a PR that only touches a plugin's README or assets matched no pattern, never reported, and could not be merged — the same trap the workflow-file and policy-file entries above already work around. Adding the plugin doc paths lets this PR (and the next one) clear the gate on its own. No-Verification-Needed: docs asset, dev-only generator, and CI trigger paths — no plugin runtime surface
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/validate-plugins.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/validate-plugins.yml b/.github/workflows/validate-plugins.yml
index 51920c8f..490bec72 100644
--- a/.github/workflows/validate-plugins.yml
+++ b/.github/workflows/validate-plugins.yml
@@ -19,6 +19,15 @@ on:
# pull_request and the required check would sit "Expected" forever (a dispatch
# check run isn't associated with the PR, so it can't satisfy the gate either).
- '.github/policy/**'
+ # And once more for a plugin's own docs: a PR that only edits a README or
+ # adds a screenshot matches nothing above, so the required check never
+ # reports and the PR can't be merged. Spelled out per level because `*`
+ # doesn't cross a `/` — plugins live at plugins/<name>/, so `*/README.md`
+ # would not match one.
+ - 'plugins/*/README.md'
+ - 'plugins/*/assets/**'
+ - 'external_plugins/*/README.md'
+ - 'external_plugins/*/assets/**'
push:
branches: [main]
paths: