GitHub Actions deployment stuck waiting for runner #210645
🏷️ Discussion TypeQuestion 💬 Feature/Topic AreaARC (Actions Runner Controller) Discussion DetailsApologies if this is a dumb question. I have checked everything I can think of with GH and I've hit a wall so hoping someone more experienced might be able to advise me. My repository aido-coder/abacus-campers has a GitHub Actions deployment workflow using runs-on: ubuntu-latest. The workflow is accepted and queued, but repeatedly remains at “Waiting for a runner to pick up this job” with zero execution time. Actions are enabled, billing usage is within limits, and other workflow checks have passed. Any idea why GitHub-hosted runners are not being assigned to this deployment job. |
Replies: 1 comment 1 reply
|
Not a dumb question, the cause is a one-letter typo. In runs-on: unbuntu-latestIt should be After fixing it:
Then push again, or run it from the Actions tab with "Run workflow". |
Not a dumb question, the cause is a one-letter typo. In
.github/workflows/deploy.yml:It should be
ubuntu-latest. GitHub looks for a runner with the labelunbuntu-latest, none exists, so the job waits forever. Yourastro-build.ymlspells it correctly, which is why that workflow runs fine.After fixing it:
Cancel the stuck run first (Actions → the pending "Deploy Astro to GitHub Pages" run → Cancel). The workflow uses
concurrency: group: pageswithcancel-in-progress: false, so a new deploy will queue behind the stuck one.Uncomment the
environmentblock.actions/deploy-pagesneeds the job to deploy to thegithub-pagesenvironment, otherwise the last step fails:j…