mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
perf(checks): accelerate fresh changed gates (#121805)
This commit is contained in:
@@ -45,7 +45,9 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
||||
with:
|
||||
fetch-depth: ${{ github.event_name == 'pull_request' && '2' || '0' }}
|
||||
# Dispatch hydrates the pinned workflow ref; changed-gate sync later
|
||||
# reconstructs its exact base and final tree. PR validation keeps both commits.
|
||||
fetch-depth: ${{ github.event_name == 'pull_request' && '2' || '1' }}
|
||||
persist-credentials: false
|
||||
- name: Setup Node environment
|
||||
uses: ./.github/actions/setup-node-env
|
||||
@@ -65,7 +67,7 @@ jobs:
|
||||
- name: Prepare Testbox shell
|
||||
uses: ./.github/actions/prepare-testbox-shell
|
||||
with:
|
||||
base-ref: ${{ github.event.pull_request.base.sha || 'refs/remotes/origin/main' }}
|
||||
base-ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || 'HEAD' }}
|
||||
|
||||
- name: Hydrate Testbox provider env helper
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user