Skip to content

Commit 71e1c56

Browse files
authored
Use 'paths-ignore' instead of 'paths' filter in test workflow (#361)
1 parent 7f526cc commit 71e1c56

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/test.yml

+4-14
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,13 @@ on:
44
push:
55
branches:
66
- main
7-
paths:
8-
- '**.m?js'
9-
- '**.ts'
10-
- 'package.json'
11-
- 'package-lock.json'
12-
- 'tsconfig.json'
13-
- '.github/workflows/test.yml'
7+
paths-ignore:
8+
- README.md
149
pull_request:
1510
branches:
1611
- main
17-
paths:
18-
- '**.m?js'
19-
- '**.ts'
20-
- 'package.json'
21-
- 'package-lock.json'
22-
- 'tsconfig.json'
23-
- '.github/workflows/test.yml'
12+
paths-ignore:
13+
- README.md
2414

2515
concurrency:
2616
group: ${{ github.workflow }}-${{ github.ref }}

0 commit comments

Comments
 (0)