You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,8 @@ Runners are **ephemeral** — each container handles exactly one job and is remo
13
13
14
14
```mermaid
15
15
flowchart LR
16
-
A["GitHub Actions\n(job queue)"] -- long poll --> B["runscaler\n(this tool)"]
17
-
B -- Docker API --> C["Runner Containers\n(ephemeral)"]
16
+
A["GitHub Actions<br/>(job queue)"] -- long poll --> B["runscaler<br/>(this tool)"]
17
+
B -- Docker API --> C["Runner Containers<br/>(ephemeral)"]
18
18
```
19
19
20
20
1. Registers a [runner scale set](https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/about-actions-runner-controller) with GitHub
@@ -39,7 +39,14 @@ flowchart LR
39
39
### Prerequisites
40
40
41
41
- Docker running on the host
42
-
- A GitHub **Personal Access Token** with `admin:org` scope (for org runners) or `repo` scope (for repo runners)
42
+
- A GitHub **Personal Access Token** — required scopes depend on token type and runner level:
43
+
44
+
| Token type | Organization runners | Repository runners |
45
+
|---|---|---|
46
+
|**Classic PAT**|`admin:org`|`repo`|
47
+
|**Fine-grained PAT**| Self-hosted runners: **Read and write** + Administration: **Read**| Administration: **Read and write**|
48
+
49
+
> **Note:** The token owner must be an **org owner** (for org runners) or have **admin access** to the repo (for repo runners). Fine-grained PATs targeting an organization may also require [admin approval](https://docs.github.com/en/organizations/managing-programmatic-access-to-your-organization/setting-a-personal-access-token-policy-for-your-organization) depending on org policy.
0 commit comments