ci: labels on one line, because act_runner splits on the comma alone
docker / image (push) Failing after 31s
android / apk (push) Failing after 1m1s
tests / backend (push) Failing after 14s
tests / desktop (push) Failing after 20s
tests / web (push) Successful in 31s
tests / android-core (push) Successful in 1m30s
lint / ruff (push) Successful in 6m56s

A folded YAML scalar turned the label list into `a, b, c`, and act_runner
splits that on `,` without trimming — so two of the three labels would have
registered with a leading space in their names and matched nothing. Which is a
fifteen-minute confusion: the runner is online, the labels look right in the
UI, and jobs queue forever.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
timka123andClaude Opus 5 committed 2026-10-22 18:37:31 +03:00
1 parent 8415c8995b
commit 8e58a2eced
1 file changed
+3 -4
+3 -4
View File
@@ -43,10 +43,9 @@ services:
#
# Labels are baked into `./data/.runner` at registration — changing this
# line later does nothing on its own. See the guide.
GITEA_RUNNER_LABELS: >-
ubuntu-latest:docker://catthehacker/ubuntu:act-24.04,
ubuntu-24.04:docker://catthehacker/ubuntu:act-24.04,
ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04
# One line, no spaces after the commas: act_runner splits this on `,` and
# a stray space becomes part of the next label's name.
GITEA_RUNNER_LABELS: "ubuntu-latest:docker://catthehacker/ubuntu:act-24.04,ubuntu-24.04:docker://catthehacker/ubuntu:act-24.04,ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04"
CONFIG_FILE: /config/config.yaml
volumes: