Do a Github workflow trigger check_run, check_suite, and status events? #148870
Replies: 2 comments 1 reply
-
yet,the problem is what?and i come out again.突次 |
Beta Was this translation helpful? Give feedback.
1 reply
-
I opened it in the wrong category, I close it and open a new one |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
In the context of a PR, when a workflow is complete, Are
check_run
,check_suite
, andstatus
events triggered?Test case
I am trying to trigger a workflow after all the workflows triggered by a pull request finish. To do that, I check the documentation about events, and there are three that look promising
check_run
,check_suit
, andstatus
.I created four workflows:
status
check_run
check_suit
Then, I create a PR with a simple change in the repo. For my understanding of the documentation when the workflow
On push dummy
is completed it set a check on the PR as complete and it should trigger the workflowOn check_run dummy
and I am not sure if it should triggerOn check_suite dummy
because I dunno if there is a default check suit, also the PR status change tosuccess
because all workflows pass so it should trigger the workflowOn status dummy
.The fact is that only the
On push dummy
and the others are not triggered when this one is completed, Am I doing anything wrong? How these three events are triggered? Are they triggered by the completion of a workflow?Repository resources
I have a repo with the four workflows and the PR that I tested
On push dummy
runsOn check_run dummy
runsOn check_suit dummy
runsOn status dummy
runsBeta Was this translation helpful? Give feedback.
All reactions