James @43081j.com · May 12

1. split it up - run build in pull_request, then publish an artifact with some "result" (e.g. JSON) - separate workflow_run that consumes the result and posts the comment

17 likes 1 replies

?

Replies

James · May 12

2. if you must keep it in one workflow, set the pull_request_target trigger to be constrained on `labeled`. only maintainers can add labels, so they can trigger the workflow manually by adding the right label