From b32f5dc9994cc6d80128707b0215f25750074b1e Mon Sep 17 00:00:00 2001 From: S Date: Sun, 1 Mar 2026 10:12:10 -0500 Subject: [PATCH] docs: update runners.conf.example for renamed vars and smart defaults MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - data_path default: RUNNER_DATA_BASE_PATH/name - capacity default: 2 (server), 1 (macOS) — no longer from .env Co-Authored-By: Claude Opus 4.6 --- runners.conf.example | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runners.conf.example b/runners.conf.example index 40ce734..4e3c548 100644 --- a/runners.conf.example +++ b/runners.conf.example @@ -20,7 +20,7 @@ # # data_path — Absolute path (/ or ~/) where act_runner stores its binary, # config, and job cache. NOT Gitea's data path. -# Default: RUNNER_DEFAULT_DATA_PATH (docker), LOCAL_RUNNER_DATA_PATH (native) +# Default: RUNNER_DATA_BASE_PATH/name (docker), LOCAL_RUNNER_DATA_BASE_PATH/name (native) # # labels — Workflow runs-on value (e.g. linux, macos, ubuntu-latest). # Combined with default_image at deploy time to produce @@ -37,7 +37,7 @@ # Repo name = fetch repo-level token from Gitea API. # # capacity — Positive integer (>= 1). Max concurrent jobs. -# Default: RUNNER_DEFAULT_CAPACITY from .env. +# Default: 2 (server hosts), 1 (macOS). # Constrained by host CPU/RAM. 0 and negative are invalid. # # cpu — Docker CPU limit (e.g. 2.0, 0.5). Ignored for native.