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. |
Beta Was this translation helpful? Give feedback.
Replies: 26 comments 3 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 |
Beta Was 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 |
Beta Was 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. |
Beta Was 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.
|
Beta Was this translation helpful? Give feedback.
-
May we get a notification, when this bug is fixed? It’s quite annoying. I faced it as well. |
Beta Was this translation helpful? Give feedback.
-
This has been fixed, if you are still seeing a problem, please let us know where. |
Beta Was this translation helpful? Give feedback.
-
Hey @andymckay ! |
Beta Was this translation helpful? Give feedback.
-
Thank you, I’ll file an issue internally and the team will take a look. |
Beta Was 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. |
Beta Was 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. |
Beta Was this translation helpful? Give feedback.
-
It is not working for me either! no button for the workflow is being shown. |
Beta Was 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. |
Beta Was this translation helpful? Give feedback.
-
Hi @andymckay, Seems like this issue is still exist. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi @andymckay, The issue still exists. Any update? |
Beta Was this translation helpful? Give feedback.
-
@srinivasan-getstan, @abhinavan1812 I no longer work at GitHub, so am not able to provide much insight, sorry. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone Same problem here (private repo)! |
Beta Was this translation helpful? Give feedback.
-
Not able to see the Run Manual Workflow option even though if i give the workflow_dispatch in my yml file as attached in the below screenshot, Let me know if iam missing anything here!! |
Beta Was this translation helpful? Give feedback.
-
Edit: Double-cheking the default branch fixed the problem. I thought the default branch was This very simple yaml doesn't work.
name: hello
on:
push:
workflow_dispatch:
jobs:
hello_world:
runs-on: ubuntu-latest
steps:
- run: echo "Hello, world!" |
Beta Was this translation helpful? Give feedback.
-
I changed the file name but it didn't work, but changing the name of the action solved it!
|
Beta Was this translation helpful? Give feedback.
-
same thing happens for me as well on my private_repo and its quite annoying. |
Beta Was this translation helpful? Give feedback.
-
It is still happening |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Stil facing this issue. Now able to trigger the actions from the UI manually
|
Beta Was this translation helpful? Give feedback.
-
I had to change the default branch from main to master to resolve this. Same yaml file for the workflow . |
Beta Was this translation helpful? Give feedback.
-
I ran into this issue today. After renaming the file, renaming the workflow name, and merging to main, the |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, 2024 problem still exist. |
Beta Was 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.