Replies: 3 comments 2 replies
|
Based on the API response you shared ( I'd suggest checking a few additional things:
One important detail: since the API reports Actions as enabled but the dispatch endpoint explicitly returns If all the settings are correct, I'd recommend asking GitHub Support to investigate whether there's an account-level or repository-level restriction that isn't reflected in the permissions response. Could you confirm whether this is a personal fork or an organization-owned fork? |
|
The key signal here is the exact error text: 1. The repo-level API you checked is not the only gate
2. Check the account-level gate gh api /user/installations 2>/dev/null | head -5 # not it, but sanity check
gh api /repos/wwessex/Stream-Tube-Desktop/actions/permissions
gh api /repos/wwessex/Stream-Tube-Desktop/actions/permissions/workflowIf the first returns 3. Check the upstream Open the upstream repo → Settings → Actions → General. If it's org-owned and "Allow all actions and reusable workflows" is not set, or Actions is disabled at the org level, your fork inherits the restriction. 4. The decisive test Create a brand-new empty repo under your own account, add a trivial workflow, and try
5. Why Support sent you to the Community They likely can't see account-level flags from the ticket triage either, or they classified it as a permissions question. If the decisive test above shows account-level blocking, go back to Support with that result — it's a much stronger ticket than "my fork returns 422". One more thing: |
|
One extra test worth doing before the account-level conclusion: try dispatching once from the Actions tab UI with the Run workflow button instead of the CLI. If the UI dispatch works but the CLI returns 422, the problem is on the token side — check that your gh token actually carries the workflow scope, since a token without it can produce confusing errors on dispatch. If the UI fails with the same disabled message, you have ruled out the CLI entirely and the restriction really is server-side, which makes for a much stronger Support ticket. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Other
Discussion Details
Hi,
I’m trying to run the macOS and Windows workflows for commit
63f317aon my Stream Tube Desktop fork. Both manual dispatches return HTTP422with the errorActions has been disabled for this repository.GitHub creates no workflow runs. Fork and branchThese are the commands I used.
The repository’s Actions permissions API returns
enabled: trueandallowed_actions: all. Both workflows are listed asactive. The macOS workflow ID is428113976, and the Windows workflow ID is428083459.GitHub Support directed me to the Community. Has anyone had this happen on a fork, and is there a way to tell whether the restriction is on the repository or the account and request a review?
Thanks.
All reactions