GitHub Actions API has the ability to re-run a specific workflow, but the GitHub UI doesn't have any option to re-run a workflow unless the workflow has some failed jobs inside it.
(Well, GitHub doesn't exactly let you re-run the entire workflow, only specific failed jobs inside it, which is no exposed in their API).
The feature adds a button that should:


People do seem to need this for their own reasons (GH forum).
These "tricks" work, but they do not work on specific run that we want to re-run or require adding new actions to handle them.
There are basically two "types" or "ways" of running a workflow (if you could call them that)
Option 1 can be easily done, now sure how we can tackle option 2 (which also may not be possible).
This is impossible, you can’t run random workflows like that, they have to be pre-setup with those specific listeners.
The only thing possible would be if you’re referring to running OUR ci, not as a feature of refined GitHub.
Adding empty commits isn’t great either way.
This is impossible, you can’t run random workflows like that, they have to be pre-setup with those specific listeners.
I'm assuming by me saying _"creating a new workflow run"_ you are thinking of creating new workflow file, with a custom event, jobs and stuff. Yes, that's impossible.
What I'm referring to is a way to trigger a workflow is already configured by the user in the repo, let's say like "Deployment" which they would want to trigger on a specific branch. Feels like I'm explaining Travis' "Trigger Build" feature, but for a specific workflow that the user already has in their repo.
I understand that this might not be possible, but was just brainstorming that idea as it is similar to my actual feature request being able to re-run an already run workflow (example), using the API GitHub provides.
The only thing possible would be if you’re referring to running OUR ci, not as a feature of refined GitHub.
I'm referring to the feature that is actually possible using GH API be added as a feature of RGH.
Indeed that’s not possible.
A workflow only runs after the events specified in the workflow itself.
For most repos, where the events are on: push, the only way to trigger it is to push a commit, unsurprisingly. That can’t be worked around by us and, as I said, pushing a whole new (empty) commit for this is a no-go.
Users of each repos can configure their workflows to run one of the solutions you suggested, but RGH can’t.
... at least officially. Can you try hacking the “Re-run all jobs” to work on any run?
Edit: tried, GitHub responds with _"What‽"_
Can you try hacking the “Re-run all jobs” to work on any run?
There is an API for that, as mentioned above.

Edit: tried, GitHub responds with _"What‽"_
How were you trying to do that?
There is an API for that, as mentioned above.
Like GitHub’s own UI, it only works if the run failed, like in your demo. Otherwise you get a 403

This is what happens when I try to rerun the latest (successful) workflow run on this repo.
How were you trying to do that?
I found a failed run’s “Re-run all jobs” form, changed its URL to use a different run id, and submitted it. It failed either because their once is linked to the run or because the backend has the same limitation: only rerun failed runs.
or because the backend has the same limitation: only rerun failed runs.
That's a bummer!
Awesome! Can you open an issue on your repo to add manual deployment?
Awesome! Can you open an issue on your repo to add manual deployment?
https://github.com/notlmn/browser-extension-template/issues/32
Most helpful comment
Like GitHub’s own UI, it only works if the run failed, like in your demo. Otherwise you get a 403
This is what happens when I try to rerun the latest (successful) workflow run on this repo.