Is it possible to manually force an action workflow to be re-run?

Yes, you can re-run jobs, but what about if you want to create a workflow that you want to run on-demand?

I had success using the workflow_dispatch command using GitHub’s REST API to manually run GitHub Action workflows. Also, if you have a workflow that is triggered by the workflow_dispatch event, you can manually trigger it from the UI.

However, in my case, I needed something extra: which is the ability to re-run, from the command line, a workflow that was triggered by a pull_request event. Re-running it from the UI is possible as per @maxceem comment.

I tried using the POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun endpoint (, but this endpoint does not support re-running a workflow that ended up successful.

This is a real show-stopper for me. Any ideas on why is that not supported? Are there plans to remove this restriction?