feat(security): self-report scan failures to an API-readable Forgejo issue #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/ci-failure-self-report"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Forgejo 15 exposes no actions-log API (swagger-confirmed) and runner logs need a web session — so a failed security job was undiagnosable via API. This adds an
if: failure()step (continue-on-error) that posts captured diagnostics —security_summary.txt,trivy.txttail,trivy.jsonfindings incl. SECRET rules,trivy_rows.md, env snapshot, runner name — into a single fingerprinted<!-- ci-failure-diagnostic -->issue per repo (upserted, API-readable). Durable log access for every future failure; captures the current NestMsg/NestAgent red on next run.🤖 Generated with Claude Code