Actions dispatch returns HTTP 422 disabled while permissions API says enabled #209968
Replies: 2 comments 1 reply
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
That combination — The How to confirm:
How to fix: there's no API/settings change that can lift it. Open a ticket at https://support.github.com and choose the account / repository restriction category (not general Actions troubleshooting), include the 422 message and the dispatch URL. That category routes to the team that can actually review and re-enable it. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Other
Discussion Details
Discussion type
Question / possible bug in GitHub Actions repository or account state.
Repository and impact
Public repository: https://github.com/2217173240/grok-bot-0.18-reconstructed
I have administrator permission. Workflow dispatch is rejected as disabled even though the repository permissions API reports Actions enabled and the workflows are active. This blocks required PR checks and CodeQL initialization.
Reproduced on October 10, 2026 (Asia/Singapore), including immediately before posting this discussion.
Reproduction and exact results
Result:
{"enabled":true,"allowed_actions":"all","sha_pinning_required":false}List repository workflows. Existing workflows report
state: active, includingrepository checks(ID357736368), Linux amd64 runtime, macOS arm64 package, and Windows portable package.Dispatch the existing workflow on the pushed branch:
Result:
enabled=trueandallowed_actions=allsucceeds. Reading permissions again confirmsenabled=true, but dispatching again produces the same HTTP 422.Related security initialization
CodeQL default setup initialization is queued with no jobs:
https://github.com/2217173240/grok-bot-0.18-reconstructed/actions/runs/38024328571
The default-setup API reports
state=configured,languages=[],query_suite=extended,threat_model=remote,updated_at=null, andschedule=null. A configuration update returns HTTP 409,Configuration update already in progress.The affected PR is 2217173240/grok-bot-0.18-reconstructed#116. It has not been merged by bypassing its required checks.
Expected behavior
An enabled repository with active workflows should accept
workflow_dispatch; required PR checks should run; CodeQL initialization should complete or provide an actionable failure.Support outcome and question
GitHub Support ticket #4842637 was submitted with these details and then closed because the support options available to this account are self-service resources. Support directed me to Community Discussions.
Is there a separate account-level Actions restriction or backend disabled state that is not represented by the repository permissions API? How can the repository owner identify and resolve it, or have the appropriate GitHub team investigate? Please also advise how to recover the pending CodeQL initialization after Actions execution is restored.
I am reporting observed API behavior, not asserting a cause. No authentication tokens, private account information, or sensitive logs are included.
Resubmitted through the required Actions web template after the CLI-created discussion #209967 was closed for submission format: https://github.com/orgs/community/discussions/209967
All reactions