Missing workflow_dispatch at the Action tab #25219
-
I was doing some tests with the GitHub got into an invalid state? What I can do to solve this problem? I tried to delete the file and then create using the graphic interface, but I got the same result. |
BetaWas this translation helpful?Give feedback.
Replies: 47 comments 19 replies
-
The workflow file must be committed in the default branch (master/main) if you want to use the Manually running a workflow - GitHub Docs |
BetaWas this translation helpful?Give feedback.
-
Yes, the file is at the default branch and still doesn’t show to me on the actions tab. It’s not the first time this happens to me. Looks like GitHub get into an invalid state and after that, I can’t use the manual workflow at the repository anymore. It’s not like I can’t see the |
BetaWas this translation helpful?Give feedback.
-
It’s a bug with GitHub, I just confirmed. I changed the name of the files and the name of the workflow and now it’s showing for me. |
BetaWas this translation helpful?Give feedback.
-
Thanks. I had the same problem with not displaying the workflow button on the page. After changing the file name, it works.
|
BetaWas this translation helpful?Give feedback.
-
May we get a notification, when this bug is fixed? It’s quite annoying. I faced it as well. |
BetaWas this translation helpful?Give feedback.
-
This has been fixed, if you are still seeing a problem, please let us know where. |
BetaWas this translation helpful?Give feedback.
-
Hey @andymckay ! |
BetaWas this translation helpful?Give feedback.
-
Thank you, I’ll file an issue internally and the team will take a look. |
BetaWas this translation helpful?Give feedback.
-
I was able to reproduce what you describe. I didn’t need to rename the file, but instead just added a comment to the file and noticed the workflow was created. |
BetaWas this translation helpful?Give feedback.
-
Still couldn’t get it to work in a private clone of a private repository. I’ve tried adding a comment as @lupine86 suggested but the button still didn’t appear. |
BetaWas this translation helpful?Give feedback.
-
It is not working for me either! no button for the workflow is being shown. |
BetaWas this translation helpful?Give feedback.
-
I can confirm renaming workflow from the the orignal.yml to fixed.yml fixed it for me as well. It is then also possible to rename to the orginal.yml to have it work afterwards. |
BetaWas this translation helpful?Give feedback.
-
Hi @andymckay, Seems like this issue is still exist. Thanks. |
BetaWas this translation helpful?Give feedback.
-
Hi @andymckay, The issue still exists. Any update? |
BetaWas this translation helpful?Give feedback.
-
@srinivasan-getstan, @abhinavan1812 I no longer work at GitHub, so am not able to provide much insight, sorry. |
BetaWas this translation helpful?Give feedback.
-
bro, it's really really bad when you think it's your problem and you spend all day troubleshooting, then find out it's a bug. :( |
BetaWas this translation helpful?Give feedback.
-
👋 Chiming in from the Actions product team. I'll see if there are any existing internal issues to address this, along with trying to reproduce it myself. |
BetaWas this translation helpful?Give feedback.
-
i can confirm this is still broken today from the gh client gh workflow run ch-cluster-adhoc-loader.yml -f deliveryDate=2024-10-03-03 -f adhocHost=foobar --ref do/ch-cluster-adhoc-loader It will not trigger the workflow. I understand if I add my merge my branch into the default branch it will work. I have other workflow in my default branch. HOWEVER, how are we expected to test dispatch workflows? Iterate in the default branch?????? can't be the case right? |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Please add a branch selector to the Actions tab. This will allow me to view the Actions I'm working on and iterate on them before merging to the default branch. |
BetaWas this translation helpful?Give feedback.
-
Can recommend the workaround described here: Makes it possible to deploy from a non-default branch. |
BetaWas this translation helpful?Give feedback.
-
I come across this issue today when I'm writing a new workflow file. on: workflow_dispatch: push: branches: - 'main'paths-ignore: - '**.md' - '**.txt' - '.github/**' - '.idea/**' - '!.github/workflows/${workflow_filename}'But only one workflow has the |
BetaWas this translation helpful?Give feedback.
-
weirdly my workflow file in non-default branch is working when called from ghcli but don't see the option to run it from UI or port.io |
BetaWas this translation helpful?Give feedback.
-
TL;DR must commit workflow files back to |
BetaWas this translation helpful?Give feedback.
-
I wonder if I ended up in this state by forking a repo that had actions. |
BetaWas this translation helpful?Give feedback.
-
Bug still exist, workflow wont show up until you rename/delete and put back the the yml file. This bug always happen if the repo is forked/cloned from a repo/template that has action. It wont automatically list the workflow until you delete/rename the file... Editing the file may make it appear but it wont trigger, no history of running at all. |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Coming across this bug today as well. The workflow is pushed to default branch directly along with other stuff (1st commit) when the repo first published. The workflow doesn't appear when default branch is named 'master'. It appears after editting the workflow and commit again. When default branch is named 'main'. It appears as normal from 1st commit. |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems this issue still isn't fully resolved. If you're not seeing the workflow trigger button, make sure you've copied your workflow file to the default branch (usually main or master). Once the file is present in the default branch, the "Run workflow" button should appear in the GitHub Actions tab for that workflow. Here’s a minimal example that should work: |
BetaWas this translation helpful?Give feedback.
-
This defect still exists and it is not appropriate to expect it to be checked into the main branch as a resolution. My default expectation for accessibility and functionality is that if I've given this workflow_dispatch tag to it then it's always going to show up and I have the option of running it against any branch or change set that I request. |
BetaWas this translation helpful?Give feedback.
-
Is this going to get fixed ever? You want the users to merge into the master a work in progress code just to make the workflow appear in the Actions tab? That is super weird. |
BetaWas this translation helpful?Give feedback.
-
this bug appears again. """ permissions: on: """ no action button |
BetaWas this translation helpful?Give feedback.

It’s a bug with GitHub, I just confirmed. I changed the name of the files and the name of the workflow and now it’s showing for me.