GitHub Actions Manual Trigger from Issue / Pull Request UI


I’d like to propose a new feature for UI related to Actions.

We’d like to trigger a GitHub Action from an issue UI or pull request UI in a easy single click way, that would be used many times a day by each user.

Let’s imagine a new issues and pull_request trigger type, something like:

    types: [manual_dispatch]
    types: [manual_dispatch]

UI on would recognize such a trigger and create a section in the right menu on the issue/pull_request page:

Linked issues...
 * First action name - clickable link
 * Second action name - clickable link

Dispatched action would provide usual issue/pull_request payload directly.

As this should be very easy to use, no parameters are expected. Comments could be used instead to deal with parametrized actions.

I know I already can:

  • Manually trigger a workflow from Actions tab. That’s not easy for our use case as context must be provided as a parameter and the UI is far away from where the user is.
  • Trigger on labeled/unlabeled event. That’s also not easy, as the list of labels is long and the label is preserved on the issue without any state meaning. It’s hard to run the same thing twice over time.
  • Trigger on issue_comment. That’s powerful, but still not easy enough for users as we need to train users to use the well known comments.
1 Like

Sounds like an interesting idea. For feature requests, you should use the Feedback form for GitHub Actions. That will allow you to directly interact with the support team, and make it more convenient for the engineering team to collect and categorize suggestions. This forum isn’t a good place for such requests unless you want to start a discussion with the community about it.

Done, thanks for the suggestion @Simran-B.

1 Like