Date: 2026-09-01 20:09 Summary: GitHub Actions Verify failed because file-metadata-analyzer used invalid taxonomy subject "file"; fixed to "data".
[question] 收到 一个GitHub Actions 的工作流运行失败通知,具体是名为 “Verify” 的任务在 27 秒内失败
[try to solve]
- Failed run: Verify on push to
mainfor commitff0d78b6(“tools: ship P1 scene queue…”) — https://github.com/matthewdailytools/onlinefreetools/actions/runs/33497985687 - Job timeline (~27s): Checkout / Setup Node /
npm cisucceeded; the Verify step (npm run verify) failed. - Local reproduction:
npm run lint:taxonomyexits 1 withfile-metadata-analyzer: missing/invalid subject file. - Root cause: catalog shard set
"subject": "file", but allowed subjects are onlyimage|pdf|text|number|color|network|unit|data. The log line’s trailing “file” is the illegal value, not a missing file on disk. - Fix: set
subjecttodata(same asfile-hash/create-zip-file), thenmerge:tools.lint:taxonomypasses afterward.
[actions]
src/site/tool-catalog.d/file-metadata-analyzer.json:subjectfile→datasrc/site/tool-catalog.json: regenerated viamerge:tools