mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
ci: run the spec trace check on the project's runner again (revert #576)
GitHub-hosted jobs for this repository wait in a shared queue: since 04:21Z every spec trace job sat queued on ubuntu-latest with no runner, so no pull request could pass its checks. The workflow's own comment had said so (the hosted queue can wait for hours). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f4dad3a8d6
commit
599caf1354
1 file changed
+4
-9
+4
-9
@@ -22,9 +22,10 @@ concurrency:
|
||||
jobs:
|
||||
trace:
|
||||
name: spec trace
|
||||
# A GitHub-hosted runner: this check runs no PR code and needs no project
|
||||
# host, so it does not queue behind the self-hosted test jobs.
|
||||
runs-on: ubuntu-latest
|
||||
# Same-repository PRs use the project's self-hosted runners, as the test
|
||||
# workflow does; fork PRs stay on a GitHub-hosted runner, whose shared queue
|
||||
# can wait for hours. No PR code runs here either way.
|
||||
runs-on: ${{ github.event.pull_request.head.repo.full_name == github.repository && 'tp04-seaweed-block' || 'ubuntu-latest' }}
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- name: Checkout base
|
||||
@@ -36,12 +37,6 @@ jobs:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: false
|
||||
|
||||
- name: Check spec trace
|
||||
env:
|
||||
BASE: ${{ github.event.pull_request.base.sha }}
|
||||
|
||||
Reference in new issue
Block a user