Asociate check with PR

Hello world!

Is there any way to associate a check/action output to a certain PR without using the on: pullrequest or on: push code?

For example, when someone comment on a PR, run an action and create a check associate for such PR.

Best regards.

Pull request is an issue. So you can use on: issue_comment. to trigger a workflow when a new comment added to a PR.  

And you can use on:  pull_request_review_comment to run your workflow anytime a comment on a pull request’s unified diff is modified

Please refer to this document: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#issue-comment-event-issue_comment

I want to note that, you cannot see these types of checks in PP > Checks tab. You need to find it in Repo> Actions > Workflows list…