fix(ci): staging-check dispatches infra staging validation and takes the result as a commit status #10
Loading…
Reference in a new issue
No description provided.
Delete branch "jfraeys/fix/staging-check-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?
Summary
Evidence
INFRA_REPO="jfraeysd/infra"—GET /repos/jfraeysd/infrareturnsuser redirect does not exist, so the dispatch could never succeed. The job also printed${{ secrets.INFRA_DISPATCH_TOKEN }}and held the shared runner while waiting on the run it had dispatched.After: not run on a runner yet. Checked: the workflow parses (jobs
check, lint, build, staging-check), and the dispatch body built byjqis{"ref":"main","inputs":{"app_repo":"jfraeys/coaching-site","app_ref":"feat/x","app_check_extra_vars":"coaching_site_branch=feat/x","report_repo":"jfraeys/coaching-site","report_sha":"abc","report_context":"staging/validate"}}Merge Danger
Door: two-way
Blast Radius: PR checks
staging-checkjob now goes green on a successful dispatch, not on staging passing. The result is thestaging/validatestatus; require that context in branch protection if staging should gate merges.CI_FORGEJO_COMMENT_TOKENto have commit-status write on this repo, and depends on jfraeys/infra#288 (merged) and #287 (app_baseinstall).🤖 Generated with Claude Code
https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.