Skip to content

Use Specific Self-Hosted Action Runner? #25716

Use Specific Self-Hosted Action Runner? #25716
Aug 26, 2021 · 2 answers

We got multiple self-hosted Action Runners with similar Tag.
Want to use a specific Self-Hosted Action Runner. How can I mention that on my workflow ?

Azure DevOps - We used Agent.Name equals AgentName
Looking for similar actions.

You can use self-hosted runners by following the GitHub Docs: Using labels with self-hosted runners - GitHub Docs

There are labels you can use.

Replies

2 suggested answers

Is this not good enough?

runs-on: [self-hosted, some-label]

(Each runner can have a unique label in addition to common labels.)

0 replies

You can use self-hosted runners by following the GitHub Docs: Using labels with self-hosted runners - GitHub Docs

There are labels you can use.

0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants