mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
ci: spec-trace runs on the self-hosted runners for same-repository PRs
GitHub-hosted jobs in this org can queue for a long time; the test workflow already sends same-repository PRs to the self-hosted runners and forks to a hosted one. The spec-trace job does the same. It runs no PR code on either. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3065a81238
commit
8e3e8d1bcb
1 file changed
+4
-1
+4
-1
@@ -22,7 +22,10 @@ concurrency:
|
||||
jobs:
|
||||
trace:
|
||||
name: spec trace
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user