mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
ci: run the spec trace check on a GitHub-hosted runner
The check only reads the PR description and the changed-file list. On the self-hosted runners it waited behind full test jobs for over an hour and held back merges whose tests had already passed. Hosted jobs in this repository start within about a minute. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
dfb77aef28
commit
3d09c242b4
1 file changed
+4
-4
+4
-4
@@ -22,10 +22,10 @@ concurrency:
|
||||
jobs:
|
||||
trace:
|
||||
name: spec trace
|
||||
# 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' }}
|
||||
# A GitHub-hosted runner: this job only reads the description and the file
|
||||
# list, and on the self-hosted runners it queued behind full test jobs and
|
||||
# held merges back. No PR code is checked out or run here.
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- name: Checkout base
|
||||
|
||||
Reference in new issue
Block a user