Skip to content

Commit 9caf4ce

Browse files
authored
ci: skip typecheck for workflow-only PRs (#3619)
The `code` paths filter currently matches `**` minus a tiny exclusion list, so a PR that only touches `.github/workflows/*.yml` still flips `code == true` and runs typecheck (~2 min on the runner). Exclude `.github/**` from `code`, then re-include just `pr_checks.yml` and `typecheck.yml` so a change to either of those still triggers the full code check matrix. Effect: - workflow-only PRs (this one, future dependabot/codeql/etc.) skip typecheck; `all-checks` treats the skipped job as non-failure so the required status passes. - modifying `pr_checks.yml` or `typecheck.yml` themselves still triggers typecheck. - the existing per-suite filters (`webapp`, `packages`, `internal`, `cli`, `sdk`) already re-include the specific workflows that gate them, so they're unaffected.
1 parent 979655c commit 9caf4ce

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/pr_checks.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
- '!docs/**'
3434
- '!.changeset/**'
3535
- '!hosting/**'
36-
- '!.github/workflows/helm-prerelease.yml'
36+
- '!.github/**'
37+
- '.github/workflows/pr_checks.yml'
38+
- '.github/workflows/typecheck.yml'
3739
webapp:
3840
- 'apps/webapp/**'
3941
- 'packages/**'

0 commit comments

Comments
 (0)