Skip to content

Commit 083e8f0

Browse files
authored
Merge pull request #13719 from github/repo-sync
repo sync
2 parents 6fad84e + a248a66 commit 083e8f0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

content/actions/hosting-your-own-runners/using-self-hosted-runners-in-a-workflow.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,13 @@ These labels operate cumulatively, so a self-hosted runner’s labels must match
7070

7171
When routing a job to a self-hosted runner, {% data variables.product.prodname_dotcom %} looks for a runner that matches the job's `runs-on` labels:
7272

73-
{% ifversion fpt or ghes > 3.2 or ghae or ghec %}
74-
- {% data variables.product.prodname_dotcom %} first searches for an online and idle runner at the repository level, then at the organization level, {% ifversion fpt or ghec %} and if the organization is part of an enterprise,{% endif %} then at the enterprise level.
73+
{% ifversion fpt or ghes > 3.3 or ghae or ghec %}
74+
- If {% data variables.product.prodname_dotcom %} finds an online and idle runner that matches the job's `runs-on` labels, the job is then assigned and sent to the runner.
75+
- If the runner doesn't pick up the assigned job within 60 seconds, the job is re-queued so that a new runner can accept it.
76+
- If {% data variables.product.prodname_dotcom %} doesn't find an online and idle runner that matches the job's `runs-on` labels, then the job will remain queued until a runner comes online.
77+
- If the job remains queued for more than 24 hours, the job will fail.
78+
{% elsif ghes = 3.3 %}
79+
- {% data variables.product.prodname_dotcom %} first searches for a runner at the repository level, then at the organization level, then at the enterprise level.
7580
- If {% data variables.product.prodname_dotcom %} finds an online and idle runner at a certain level that matches the job's `runs-on` labels, the job is then assigned and sent to the runner.
7681
- If the runner doesn't pick up the assigned job within 60 seconds, the job is queued at all levels and waits for a matching runner from any level to come online and pick up the job.
7782
- If {% data variables.product.prodname_dotcom %} doesn't find an online and idle runner at any level, the job is queued to all levels and waits for a matching runner from any level to come online and pick up the job.

0 commit comments

Comments
 (0)