fix(ci): skip queued-forever jobs on the GitHub mirror #120

Merged
rootiest merged 1 commits from ci/skip-duplicate-run-on-github-mirror into main 2026-09-01 00:21:20 +00:00
Owner

The test/build-docs jobs target a self-hosted runner (racknerd-mini) that only exists on the Gitea instance. When GitHub re-runs this same mirrored workflow, those jobs sit queued forever with no matching runner, so the mirrored commit never gets a completed status (no green check).

This gates both real jobs to skip when github.server_url == 'https://github.com', and adds a trivial github-mirror job (runs-on: ubuntu-latest, which GitHub does provide) that only runs on the mirror, so the check completes instead of hanging.

Real CI still only runs on Gitea, where the secrets and self-hosted runner actually exist.

The `test`/`build-docs` jobs target a self-hosted runner (`racknerd-mini`) that only exists on the Gitea instance. When GitHub re-runs this same mirrored workflow, those jobs sit queued forever with no matching runner, so the mirrored commit never gets a completed status (no green check). This gates both real jobs to skip when `github.server_url == 'https://github.com'`, and adds a trivial `github-mirror` job (`runs-on: ubuntu-latest`, which GitHub does provide) that only runs on the mirror, so the check completes instead of hanging. Real CI still only runs on Gitea, where the secrets and self-hosted runner actually exist.
rootiest added 1 commit 2026-09-01 00:19:55 +00:00
The test/build-docs jobs target a self-hosted runner (racknerd-mini)
that only exists on the Gitea instance. When GitHub re-runs this same
workflow on the mirror, those jobs sit queued forever with no matching
runner, so the commit never gets a completed status.

Gate both jobs to skip when github.server_url is github.com, and add a
trivial github-mirror job (runs-on: ubuntu-latest, which GitHub does
provide) that only runs on the mirror, so the check completes instead
of hanging.
rootiest merged commit 1aef0ffca8 into main 2026-09-01 00:21:20 +00:00
rootiest deleted branch ci/skip-duplicate-run-on-github-mirror 2026-09-01 00:21:21 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rootiest/fish-config#120