Repository navigation
Closed
Labels
bugSomething is not working
Description
Symptom
After #84 I ran openshell-next.yml by hand (run 42807133040). It moved openshell-next to v0.1.8-pre.5 (2fbb6e7), pushed, dispatched CI and commented on #80. The dispatched CI run 42807357253 passed, but draft PR #82 shows no checks (gh pr checks 82: "no checks reported").
Evidence (run metadata and API, not a guess)
- On
2fbb6e7, thepull_requestruns for CI (42807366820), Upstream compatibility (42807366737) and Release (42807366720) arecompleted/action_requiredwith 0 check runs. Theiractorandtriggering_actorare bothgithub-actions[bot], because the push was made with the workflow'sGITHUB_TOKEN. - The dispatched CI suite on the same commit has
check: successandaudit: success. Yet GraphQLstatusCheckRollupfor the PR head (and for the commit) isnull, and there are no commit statuses. - Repo settings: Actions approval policy
first_time_contributors; default workflow permissionsread; Actions may not approve PRs. None of these causes it. - GitHub documents the cause (GITHUB_TOKEN docs, changelog 2026-06-11): when a workflow using
GITHUB_TOKENcreates or updates a pull request, the resultingpull_request(opened,synchronize,reopened) event creates workflow runs in an approval-required state, until someone with write access selects "Approve workflows to run". This is independent of the fork / first-time-contributor setting. Avoiding it would take a GitHub App installation token or a PAT for the push. - ci: openshell-next branch automation that tracks OpenShell releases #81 assumed GitHub's older behaviour (no
pull_requestrun at all, so the dispatched check runs would be what the PR shows). That doesn't hold any more.
Fix (smallest, no new secrets or settings)
- When
ci.ymlruns fromworkflow_dispatch, a newdispatch-statusjob (statuses: write) postsCI (dispatched) / checkandCI (dispatched) / auditcommit statuses with a link to the run. Statuses show on the PR. They are deliberately not namedcheck/audit, so they can't satisfy the required checks. - Docs (DEVELOPING, RELEASING promotion step) and the issue comment explain that the PR's own runs wait for approval and how to approve them.
Also: the 04:17 UTC schedule did not fire on 2026-11-10
GitHub says scheduled runs can be delayed under load and that some may be dropped. In this repo, the only scheduled run so far (Upstream compatibility, cron Mondays 05:00 UTC) started at 13:37 UTC, 8.5 h late. The workflow was active and on main since 2026-11-09 14:35 UTC. Daily cadence tolerates a missed day, and a manual dispatch catches up, so no cron change is needed. The docs now say so.
Metadata
Metadata
Assignees
Labels
bugSomething is not working
Activity