Skip to content

Commit 6ba259b

Browse files
committed
Limit test-platforms workflow to source file changes
Add path filters to only trigger the workflow when source files are modified: - lib/** (library code) - test/** (test files) - package.json and package-lock.json (dependencies) - eslint.config.js (linting config) - .github/workflows/test-platforms.yml (the workflow itself) This prevents unnecessary workflow runs when documentation files like README.md or LICENSE are modified.
1 parent 1e3cced commit 6ba259b

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/test-platforms.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,23 @@ on:
66
branches:
77
- main
88
- 'claude/**'
9+
paths:
10+
- 'lib/**'
11+
- 'test/**'
12+
- 'package.json'
13+
- 'package-lock.json'
14+
- 'eslint.config.js'
15+
- '.github/workflows/test-platforms.yml'
916
pull_request:
1017
branches:
1118
- main
19+
paths:
20+
- 'lib/**'
21+
- 'test/**'
22+
- 'package.json'
23+
- 'package-lock.json'
24+
- 'eslint.config.js'
25+
- '.github/workflows/test-platforms.yml'
1226

1327
jobs:
1428
test-windows:

0 commit comments

Comments
 (0)