Provide API/CLI visibility and re-enable control for fork-level Actions disablement #214201
Replies: 3 comments 2 replies
|
💬 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. ⭐ |
|
Short version: you are not missing an API call, because there isn't one. That fork switch is a separate flag the permissions API never shows, which is why everything said enabled and active while dispatch still came back 422. The manual re-enable on the Actions page is the only way to clear it right now, and you already found it. Annoying, but at least it works. Two things that help going forward. GitHub flips that switch after a fork sits quiet for a while, so regular pushes to piko keep it from coming back. And if it is the inherited upstream schedules you want gone, disable those workflow files one by one in the fork instead of using the big switch. That leaves your own CI alone. Your writeup is spot on, by the way. The gap you are describing is real, and the API really should show that flag. |
|
A brief status update as of December 1, 2026: The original discussion now contains reports from multiple independent users, including my own case involving The reported behavior is not explained by the documented 60-day inactivity rule for scheduled workflows. In my case, workflows had run on November 14 and November 24, yet GitHub subsequently disabled Actions across the fork. So far, I have not found an official explanation of this fork-level restriction, nor a documented API/CLI method to inspect or clear it. The manual re-enable option in the web UI is currently the only recovery method I have personally verified. I would appreciate clarification from GitHub on whether this is an intentional fork-level resource policy, an automated abuse-prevention restriction, or another mechanism entirely. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Product Feedback
💬 Feature/Topic Area
Workflow Configuration
Discussion Details
Summary
Please provide documented REST API and GitHub CLI support for detecting and recovering from GitHub-controlled workflow disablement on forked repositories.
Background
I maintain a public fork,
[Capricornus007/piko](https://github.com/Capricornus007/piko), where I actively develop and run independent CI workflows for building and testing software patches.In November 2026, GitHub automatically disabled workflows on this fork. The Actions page displayed:
However:
enabled: trueandallowed_actions: all.state: active.enabled=truethrough the REST API succeeded but did not restore execution.gh workflow enablealso completed without resolving the restriction.Actions has been disabled for this repository.I eventually had to visit the repository's Actions page and manually re-enable workflows.
Related reports:
Problems
The current behavior creates several problems for repository maintainers:
Requested improvements
I would like GitHub to consider the following:
1. Expose the actual restriction state through REST API
Provide a readable status indicating whether workflows are disabled by a GitHub-controlled fork restriction, including the reason and scope where possible.
2. Provide a documented recovery API
Allow authorized repository maintainers to re-enable workflows through REST API and GitHub CLI, with appropriate permission checks and confirmation safeguards.
3. Introduce granular fork workflow controls
Allow maintainers to distinguish unnecessary inherited upstream scheduled workflows from independently maintained workflows.
Disabling inherited schedules should not necessarily require disabling every independently maintained CI workflow.
4. Provide clear notifications
Notify repository maintainers when this restriction is applied, explain why it happened, and document the supported recovery procedure.
Why this matters
GitHub Actions is an important part of modern open-source development infrastructure.
A repository maintainer should be able to manage and recover their own CI workflows through documented interfaces, including when using automated development agents.
I understand the need to prevent unnecessary compute consumption on forks. I am not asking GitHub to remove these safeguards or allow unrestricted resource consumption.
I am asking for transparent restriction status, granular controls, and a supported programmatic recovery mechanism.
This would benefit open-source maintainers and automated development workflows across the GitHub ecosystem.
All reactions