WorkflowName and triggering event on checkRun API #26191
-
There is no additional information about which worklfow a checkRun belongs to on checkRunApi And there is no information about which event triggered the checkRun. Events like pull_request/push Any help would be appreciated. https://developer.github.com/v3/checks/runs/#get-a-single-check-run |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @qfc , checkrun rest api doesn’t contain workflow name aknd triggering event type. These information can be found in github context content. You can get the workflow name and event type with below code:
If you’d like any improvement of checkrun rest api, it’s recommended to raise your idea here where github manager will take a review. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Hi @qfc ,
checkrun rest api doesn’t contain workflow name aknd triggering event type. These information can be found in github context content. You can get the workflow name and event type with below code:
If you’d like any improvement of checkrun rest api, it’s recommended to raise your idea here where github manager will take a review.
Thanks!