-
I am trying to trigger a workflow that will run “as a pull_request event” via a comment in a pull request. To give you an idea of what I am trying to achieve exactly, I want to post a checklist to a pull request once a PR is opened. Then the maintainers to manually check all the boxes in the posted comment by the workflow and eventually for the workflow to go green. Since (very sadly) the issue_comment workflows are not taken into consideration in the same way as the pull request ones, I am trying to trigger a pull request event from an issue_comment one, by changing the body/description of the pull request. TL;DR: When I have my bot make a change to a pull request, this does not trigger an “edited” pull request event. Is this a bug and if so, is there a workaround? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Odds are you’re using the You’ll need a PAT: |
Beta Was this translation helpful? Give feedback.
-
Thanks @jsoref I wasn’t aware of this limitation and using a PAT did the trick. |
Beta Was this translation helpful? Give feedback.
Odds are you’re using the
GITHUB_TOKEN
which doesn’t trigger cascading workflows.You’ll need a PAT:
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token