Missing workflow_dispatch at the Action tab

I was doing some tests with the workflow_dispatch and it was working great until I did a force push into master (it’s a private and not used by others repository) to move the changes from master to a pull request.
One of those changes was the workflow_dispatch. After I did this the workflow doesn’t shows up anymore at the Action tab.

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.

The workflow file must be committed in the default branch (master/main) if you want to use the workflow_dispatch event. Is it still present there or only on a feature branch?

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 Run workflow button, I can’t see the whole workflow. The other workflows that I have at the repository are there and working fine.

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.

1 Like