GitHub Actions
workflow/event.jsonにworkflowをトリガーしたwebhookのpayloadがある. (GITHUB_EVENT_PATH環境変数にこのpathが保存されている)
Virtual environments for GitHub-hosted runners - GitHub Help
JavaScript Actionなら@actions/githubのcontext.payloadにpayload stringが入っている.
GitHub Actions provide context information about the webhook event, Git refs, workflow, action, and the person who triggered the workflow. To access the context information, you can use the github package.
Creating a JavaScript action - GitHub Help