6
votes

For those that are familiar with Github Actions...

At present, when a job runs, it picks the most suitable runner for the job based on labels and repository (Using self-hosted runners in a workflow - GitHub Docs). My question is whether it is possible to run a single job on every runner that’s meets the requirements of a job.

For example, I have multiple runners, both self-hosted and hosted by Github; I have a job that contains a script that does the following when code is pushed to the repo:

  • Checks out the Git repo using actions/checkout@v2
  • Copies a file from the checked out repo to a user’s home directory

This “action” needs to take place on every runner that the action has access to.

I hope this makes sense!

Did you find an answer to this? - Krzysztof Krzeszewski
No, but I did have a reply from someone from the Github Support Community: github.community/t/running-a-job-on-every-runner-in-parallel/… - wegotoeleven