Github Actions: “Expected — Waiting for status to be reported”
If you have required checks in your Github Actions pipeline, you might’ve seen workflows left hanging forever with a pending state. The yellow circle of despair screams Expected — Waiting for status to be reported
at you.
August 2023 update: Required workflows for GitHub Actions are in private beta and are not available for new signups. On October 18th, 2023, you will no longer be able to access required workflows for GitHub Actions and must use repository rulesets instead.
Here are a few options for troubleshooting:
Case 1: Your required workflow uses path/branch filtering (or “magic” commit messages)
Github has a documented hack (literally, because it’s quite a lame solution) for when your workflow is skipped due to path/branch filtering — or if you have sprinkled some magic to your commit message. (Update: GitHub has removed this page, but it can still be found at The Way Back Machine)
Case 2: Your required workflow expects to be triggered by an event that uses GITHUB_TOKEN
This is another documented issue/solution. To prevent recursive workflows, any event performed via a GITHUB_TOKEN
will not…