mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
feat(ci): sparse checkout in 'detect-changes' to speed up ci
This commit is contained in:
parent
c9583bbeba
commit
f81237cecd
1 changed files with 17 additions and 1 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
|
@ -55,6 +55,11 @@ jobs:
|
|||
event_name: ${{ github.event_name }}
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
sparse-checkout: |
|
||||
scripts/ci/classify_changes.py
|
||||
.github/actions/detect-changes/action.yml
|
||||
sparse-checkout-cone-mode: false
|
||||
- name: Detect affected areas
|
||||
id: classify
|
||||
uses: ./.github/actions/detect-changes
|
||||
|
|
@ -180,7 +185,18 @@ jobs:
|
|||
# ─────────────────────────────────────────────────────────────────────
|
||||
comment-live:
|
||||
name: CI review comment (live)
|
||||
needs: [detect, review-labels, lockfile-diff, supply-chain, osv-scanner, uv-lockfile, history-check, contributor-check, e2e-desktop]
|
||||
needs:
|
||||
[
|
||||
detect,
|
||||
review-labels,
|
||||
lockfile-diff,
|
||||
supply-chain,
|
||||
osv-scanner,
|
||||
uv-lockfile,
|
||||
history-check,
|
||||
contributor-check,
|
||||
e2e-desktop
|
||||
]
|
||||
if: always() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork != true
|
||||
runs-on: arc-runner-set
|
||||
timeout-minutes: 40
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue