ci(staging-validate): report result to the caller as a commit status #288

Merged
jfraeys merged 1 commit from ci/report-staging-status into main 2026-10-19 13:55:54 -04:00
Owner

Callers (app CI) no longer wait on this workflow: it shares one runner with the waiting job. Adds optional report_repo/report_sha/report_context inputs and a report job that posts the outcome as a commit status. Blank inputs leave behaviour unchanged, and nothing in it is app-specific.

The report job uses CI_FORGEJO_COMMENT_TOKEN, which needs write:repository on the reported repo to post statuses. Merge before the coaching-site change that depends on it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01B1FuEx3w8ax6P8QvdxxADM

Callers (app CI) no longer wait on this workflow: it shares one runner with the waiting job. Adds optional report_repo/report_sha/report_context inputs and a report job that posts the outcome as a commit status. Blank inputs leave behaviour unchanged, and nothing in it is app-specific. The report job uses CI_FORGEJO_COMMENT_TOKEN, which needs write:repository on the reported repo to post statuses. Merge before the coaching-site change that depends on it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01B1FuEx3w8ax6P8QvdxxADM
ci(staging-validate): report the result back to the caller as a commit status
All checks were successful
Secret scan / scan (pull_request) Successful in 15s
308fdfe855
Callers dispatch this workflow and return instead of polling: the validate job
and a waiting caller job share one runner, so waiting starves the run. Optional
report_repo/report_sha/report_context inputs make a final job post the outcome
as a commit status on the caller's commit. Generic: no app-specific knowledge.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B1FuEx3w8ax6P8QvdxxADM
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfraeys/infra!288
No description provided.