File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 77 - dev
88
99jobs :
10+ # Check if PR contains code changes (not just docs/metadata)
11+ check-code-changes :
12+ runs-on : ubuntu-latest
13+ permissions :
14+ contents : read
15+ outputs :
16+ has_code_changes : ${{ steps.filter.outputs.code }}
17+ steps :
18+ - name : Checkout source
19+ uses : actions/checkout@v4
20+
21+ - name : Check for code changes
22+ uses : dorny/paths-filter@v3
23+ id : filter
24+ with :
25+ filters : |
26+ code:
27+ - '!docs/**'
28+ - '!README.md'
29+ - '!CONTRIBUTING.md'
30+ - '!LICENSE'
31+ - '!OWNERS'
32+ - '!PROJECT'
33+
1034 lint-and-test :
1135 runs-on : ubuntu-latest
1236 steps :
4771 # E2E tests run in parallel with different configurations:
4872 # - HPAScaleToZero feature gate settings (true/false)
4973 # - GPU types (nvidia/amd) for limiter tests
74+ # Skip e2e tests if PR only contains docs/metadata changes
5075 e2e-tests :
5176 runs-on : ubuntu-latest
52- needs : lint-and-test
77+ needs : [lint-and-test, check-code-changes]
78+ if : needs.check-code-changes.outputs.has_code_changes == 'true'
5379 timeout-minutes : 60
5480 strategy :
5581 fail-fast : false
Original file line number Diff line number Diff line change 3434llmd-infra /
3535
3636* .tgz
37+ actionlint
You can’t perform that action at this time.
0 commit comments