Skip to content

Commit 7e40e94

Browse files
committed
ci: remove self-reference from change detection paths
ci.yaml was in all three check_paths calls, so creating/modifying the workflow itself triggered all test jobs. Workflow-only PRs should skip tests — the gate job still validates the pattern.
1 parent 5877864 commit 7e40e94

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,15 @@ jobs:
6262
# Unit tests: code + test infra + java + packages + build config
6363
check_paths unit_tests \
6464
'codeflash/' 'codeflash-benchmark/' 'codeflash-java-runtime/' \
65-
'tests/' 'packages/' 'pyproject.toml' 'uv.lock' \
66-
'.github/workflows/ci.yaml'
65+
'tests/' 'packages/' 'pyproject.toml' 'uv.lock'
6766
6867
# Type checking: code + build config + mypy config
6968
check_paths type_check \
70-
'codeflash/' 'pyproject.toml' 'uv.lock' 'mypy_allowlist.txt' \
71-
'.github/workflows/ci.yaml'
69+
'codeflash/' 'pyproject.toml' 'uv.lock' 'mypy_allowlist.txt'
7270
73-
# E2E tests: code + tests + build config + this workflow
71+
# E2E tests: code + tests + build config
7472
check_paths e2e \
75-
'codeflash/' 'tests/' 'pyproject.toml' 'uv.lock' \
76-
'.github/workflows/ci.yaml'
73+
'codeflash/' 'tests/' 'pyproject.toml' 'uv.lock'
7774
env:
7875
MERGE_BASE: ${{ steps.merge_base.outputs.sha }}
7976

0 commit comments

Comments
 (0)