Commit Graph
4 Commits
Author SHA1 Message Date
DeryFerd 27fe49ba41 fix(ci): resolve the identity check status when evaluation fails
identity_check.run writes a pending Commit identity policy status and then evaluates. Three recoverable races (the pull request base or head moved while the checkout was taken, or the metadata changed mid-run) raise RuntimeError, and main() returns 0 on every other path, so GitHub sees the job fail while the required status stays pending. Nothing re-runs the workflow, so the pull request is blocked with no actionable signal on screen.

Resolve any failure after the pending write to a terminal error status that tells the contributor to re-run, then re-raise so the job log says the same thing. This covers every raise path rather than the three known instances.

Verified: tests/test_commit_identities.py gains a test that fails on main (the failed evaluation wrote no status at all) and passes with the change.
2026-11-16 01:52:22 +07:00
velixio e2c173252c test: document privileged workflow guards 2026-10-14 11:54:14 +05:30
velixio fb7fde3154 ci: checkout the exact pull request base 2026-10-14 05:38:55 +05:30
Palash Debnath 8eb3d9b1cb chore: CLA check, pinned actions, identity check and governance docs (#2556)
Add contributor agreements, trusted CLA and identity checks, pinned workflow actions, contributor audits, and repository governance documentation. Reject duplicate-head eligibility checks and preserve human attribution.
2026-10-03 05:31:49 +05:30