Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/fleet-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@ jobs:
(github.event_name != 'issue_comment' && github.event_name != 'workflow_run' &&
github.event.pull_request.head.repo.full_name == github.repository)
# On our runner for every event, a fork's included: the job runs the pinned fleet-status action
# and never PR code (see above), so GitHub's hosted queue going down does not hold the
# fleet/verify and fleet/review statuses a merge waits on.
# A fork repository has no cordon-exec runners, so there it runs on GitHub's.
runs-on: ${{ github.repository == 'askalf/cordon' && fromJSON('["self-hosted","cordon-exec"]') || 'ubuntu-latest' }}
# and never PR code (see above), so GitHub's hosted queue going down does not hold the fleet/verify
# and fleet/review statuses a merge waits on. The runner is this repository's fleet status row
# (label fleet-status), a read-tier row: this few-second job holds no exec cap slot that a test
# job waits for. A fork repository has no fleet-status runners, so there it runs on GitHub's.
runs-on: ${{ github.repository == 'askalf/cordon' && fromJSON('["self-hosted","fleet-status"]') || 'ubuntu-latest' }}
timeout-minutes: 5
permissions:
contents: read
Expand Down
Loading