Why is my GitHub Actions workflow stuck in the “queued” state? #147604
-
Select Topic AreaQuestion BodyHi everyone, I’m trying to run a GitHub Actions workflow on my repository, but it remains in the “queued” state and doesn’t proceed to execution. I’ve already checked the following: Does anyone know what might be causing this issue or how I can debug it further? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 26 comments 21 replies
-
|
This issue can happen for several reasons. Here are a few things you can check to fix the “queued” state problem: Let me know if any of these steps help! |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
Thanks for posting in the GitHub Community, @anotheradamibnu! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category, the Discussions category is solely related to conversations around the GitHub product Discussions. This question should be in the Actions category. I've gone ahead and moved it for you. Good luck! |
Beta Was this translation helpful? Give feedback.
-
|
I am having a similar issue but all my actions are frozen as queued across all repos. Any reason this may be happening? It seems to have happened overnight and is not the result of any code changes. |
Beta Was this translation helpful? Give feedback.
-
|
@LiamSwayne , having the same issue today evening, thats why im here. |
Beta Was this translation helpful? Give feedback.
-
|
@github please look into this it has crashed production for me and probably a lot of other people that haven't noticed yet |
Beta Was this translation helpful? Give feedback.
-
|
bump, same issue Queued |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Similar issue. pages-build-deployment is stuck for more than 6 hours Tried "Cancel run", but it returns "Failed to cancel workflow." |
Beta Was this translation helpful? Give feedback.
-
|
Experiencing the same issue here. |
Beta Was this translation helpful? Give feedback.
-
|
Experiencing the same issue here. |
Beta Was this translation helpful? Give feedback.
-
|
same issue here suddenly some workflows wont run anymore and stay queud for forever canceling and restarting dont seem to work. |
Beta Was this translation helpful? Give feedback.
-
💬 Answer:Hi! You're doing the right checks already — thanks for sharing the context. If your GitHub Actions workflow is stuck in the “queued” state, but nothing obvious is blocking it, here are some additional things to verify: ✅ Troubleshooting Checklist1. 🧠 Check for Runner AvailabilityEven if you’ve specified a runner, make sure that:
2. 📦 Workflow Concurrency LimitsCheck for concurrency:
group: my-job
cancel-in-progress: true...then another run might be blocking it without being obvious. 3. 🔒 Repository Permissions or SecretsIf the workflow uses secrets or environments with protection rules, GitHub might delay or pause the job until approval or access is granted. 4. ⚙️ GitHub Actions System IssuesCheck:
5. 🪵 Enable Debug LoggingAdd the following to your workflow or repo secrets for more logging: ACTIONS_RUNNER_DEBUG: true
ACTIONS_STEP_DEBUG: true🛠️ Still Not Running?If it stays queued for >5–10 minutes with no logs or movement:
Hope this helps you get unstuck! Let me know what your |
Beta Was this translation helpful? Give feedback.
-
|
For me I was gone for awhile and I had my runner version os to ~ubuntu 20. There was no error but it hung on queue. I bumped the runner version to 22.04 and that got it unstuck. I hope this helps someone. |
Beta Was this translation helpful? Give feedback.
-
|
Same issue. |
Beta Was this translation helpful? Give feedback.
-
|
Happening for me, starting today. Not a usage issue, we've used less for 5% of our Enterprise plan usage. All the workflows are stuck in "queued" (for about an hour now) |
Beta Was this translation helpful? Give feedback.
-
|
Same here, can't deploy to prod, just infinite Queued. I've tried re-run but it didn't help. |
Beta Was this translation helpful? Give feedback.
-
|
I ran into this problem recently.
There's a chance this might help you folks. |
Beta Was this translation helpful? Give feedback.
-
|
If you get something like: Just run in your repo: It is gonna skip the previous jobs in stuck state and run fresh job. |
Beta Was this translation helpful? Give feedback.
-
|
I am having the same problem now, don't know what to do. I tried cancelling the workflow and to Re-run all jobs. I added the following to the yml file and changed the node version from 16.x to 20.x but even that job is Queued. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Same issue here, can't even cancel the workflow, UI gives says "Failed to cancel workflow.", CLI says "Cannot cancel a workflow run that is completed". None of methods in the accepted answer work. |
Beta Was this translation helpful? Give feedback.
-
|
I am having the same problem. I have four instances of the same action on a GitHub pages repo, all stuck in Queued state, with For my use case, it's obvious this is a bug: this is a simple Jekyll build-and-deploy action with three tasks:
The dependencies are (1) -> (2) and (1) -> (3) – notably, not (1) -> (2) -> (3). All four instances have tasks (1) and (2) completed successfully, and task (3) completed, timed out, or canceled – and yet the actions are all Queued! So this is the perfect Catch-22:
|
Beta Was this translation helpful? Give feedback.
-
|
This fixed it for me: https://github.com/orgs/community/discussions/49074#discussioncomment-15489079 |
Beta Was this translation helpful? Give feedback.
This issue can happen for several reasons. Here are a few things you can check to fix the “queued” state problem:
1. Check Runner Availability
Ensure that the runner you specified in your workflow file is available and not occupied by other jobs. You can check the status of your self-hosted runners in the repository settings under Actions > Runners. If you’re using GitHub-hosted runners, they might be busy with other jobs, especially during high demand periods.
2. Job Dependencies
If your workflow includes jobs that depend on others, make sure those jobs have completed successfully before the queued job starts. Sometimes, if a job dependency fails or hasn’t started, it can cause subsequen…