Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 7

on: pull_request

i have an action that works fine with "on: issue_comment". If I change that to either [ issue_comment, pull_request ] or only pull_request, its never being executed.


on: pull_request
name: sent message to rocketchat
   name: chat
   runs-on: ubuntu-latest
   - name: get the comment
  uses: stefan-enway/github-event-jq@master

  [...] (more steps)


Also the visual workflow editor is not showing up this action, only the issue_comment actions (i have two workflow/name.yml files in my repo)

6 Replies
GitHub Staff
Message 2 of 7

Re: on: pull_request

By default, `on: pull_request` will trigger only when a pull request is opened, reopened or synchronized.  If you want to specify additional triggers, you can use the `types` dictionary.  For example, to run when a pull request is assigned:


    types: [assigned]
Copilot Lvl 3
Message 3 of 7

Re: on: pull_request

thanks, i knew, but its not triggered at all. i have two workflows now and the "pull_request" one is completly ignored.

Copilot Lvl 3
Message 4 of 7

Re: on: pull_request



GitHub Staff
Message 5 of 7

Re: on: pull_request

Is your repository public?  Can you point me to the workflow?

Copilot Lvl 3
Message 6 of 7

Re: on: pull_request

i would need to purge the output from old action runs before making it public, there are API keys from debug runs inside. is it possible to remove those logs? i could add you to the repo as collaborator if there is no way to purge...

Copilot Lvl 3
Message 7 of 7

Re: on: pull_request

i can not reproduce that on a public fresh repo. exact same workflows, one runs on pull_request, the other one does not.