Select tag/release when running workflow_dispatch?

How come i can’t select a tag when using the workflow_dispatch?
I know that atleast one of my tags has the git hub action inside it.

1 Like

It’s apparently a general limitation for this type of event:

Running a workflow on GitHub

To trigger the workflow_dispatch event on GitHub, your workflow must be in the default branch

I assume this is for security reasons. I’m actually not sure who can manually invoke runs.

@AnderssonPeter ,

Currently, when manually triggering the workflow on workflow_dispatch event from GitHub web UI, we only can select branch as the ref, and can’t select tag or commit SHA.
If you want to set a tag or a commit SHA as the ref to trigger the workflow, you need to execute the “Create a workflow dispatch event” API.


If you really need the feature that supporting selecting tag or commit SHA as ref when manually triggering the workflow on workflow_dispatch event from GitHub web UI, I recommend that you can directly report a feature request here.
That will allow you to directly interact with the appropriate engineering team, and make it more convenient for the engineering team to collect and categorize your suggestions.