whywaita / myshoes

Auto-scaling VirtualMachine runner 🏃 for GitHub Actions
MIT License
132 stars 13 forks source link

Migrate to workflow_job #142

Closed whywaita closed 1 year ago

whywaita commented 2 years ago

GitHub released workflow_job as a new webhook event.

https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job

myshoes use check_run in https://github.com/whywaita/myshoes/blob/b0f514db060a4d063a383382862b170e19537e46/pkg/web/webhook.go#L46. workflow_job provides a label for runs-on in the workflow definition.