| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 512eb347-ec89-4250-8bf1-87048974b01d
There was a problem hiding this comment.
Adds fail-closed fork PR discovery when workflow-run PR associations are absent.
Changes:
| File | Description |
|---|---|
| .github/workflows/close-invalid-pr-writer.yml | Adds secure fallback PR association and validation. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
This updates the trusted invalid-label writer to handle fork pull request workflow runs when GitHub does not populate the run's pull request association.
When the association is absent, the writer now searches using trusted workflow-run metadata and requires exactly one open pull request matching the expected base repository, full head repository, branch, and head SHA. Ambiguous, malformed, or stale matches continue to fail closed.
The existing workflow identity checks, pull request revalidation, label/state checks, write permissions, and scheduled reconciliation fallback remain unchanged.
Validation