Files
floci/.github/workflows
Priamo Germosen c2611038a4 fix: distinguish a failed verification API call from an unsigned commit (#3840)
If the `gh api` call to fetch a commit's verification status fails (rate
limit, transient API error), the old code left `verification` empty and
reported the commit as unsigned with a blank reason, sending a contributor
off to re-sign a commit that may already be signed. Guard the call and
annotate an API failure as its own distinct error instead.

The end-of-job signing/rebase guidance is now gated on a separate UNSIGNED
flag rather than the general FAILED flag, so an API failure no longer
triggers the "re-sign and force-push" instructions, which previously
contradicted the per-commit "not a signature failure" annotation.

Verification lookups are now batched through a single call to the
PR-commits endpoint, falling back to the existing per-commit call for any
sha it doesn't cover (over its 250-commit cap, or any other reason), so the
git-log-derived commit set stays authoritative either way.

Follow-up from #3812, flagged by hectorvent in review.
2026-09-18 20:17:49 -05:00
..