Our organization has 1000+ repos and many are configured to use Actions. We have a few self-hosted runners with very specific use cases and have tags (tag:GPU) that differentiate these runners from the generic runners that can run anything.
Is there any way to ONLY run actions if the GPU tag is specified in the workflow? It appears that if only the GPU runners are available, then any workflow of the same OS will run on it whereas we want to actively prevent workflows from running if it doesn’t specify this tag.
runs-on: [self-hosted, GPU]
We don’t want workflow.yml #2 to ever run on a runner configured with the tag GPU.