Skip to content

Commit b0448f8

Browse files
Copilotfriggeri
andauthored
Consolidate path filters in SDK test workflows per GitHub Actions spec (#303)
* Initial plan * Update SDK test workflows to use paths with ! character instead of paths-ignore Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
1 parent 84af042 commit b0448f8

4 files changed

Lines changed: 36 additions & 40 deletions

File tree

.github/workflows/dotnet-sdk-tests.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,15 @@ on:
88
- 'nodejs/package.json'
99
- '.github/workflows/dotnet-sdk-tests.yml'
1010
- '.github/actions/setup-copilot/**'
11-
paths-ignore:
12-
- '**/*.md'
13-
- '**/LICENSE*'
14-
- '**/.gitignore'
15-
- '**/.editorconfig'
16-
- '**/*.png'
17-
- '**/*.jpg'
18-
- '**/*.jpeg'
19-
- '**/*.gif'
20-
- '**/*.svg'
11+
- '!**/*.md'
12+
- '!**/LICENSE*'
13+
- '!**/.gitignore'
14+
- '!**/.editorconfig'
15+
- '!**/*.png'
16+
- '!**/*.jpg'
17+
- '!**/*.jpeg'
18+
- '!**/*.gif'
19+
- '!**/*.svg'
2120
workflow_dispatch:
2221
merge_group:
2322

.github/workflows/go-sdk-tests.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,15 @@ on:
88
- 'nodejs/package.json'
99
- '.github/workflows/go-sdk-tests.yml'
1010
- '.github/actions/setup-copilot/**'
11-
paths-ignore:
12-
- '**/*.md'
13-
- '**/LICENSE*'
14-
- '**/.gitignore'
15-
- '**/.editorconfig'
16-
- '**/*.png'
17-
- '**/*.jpg'
18-
- '**/*.jpeg'
19-
- '**/*.gif'
20-
- '**/*.svg'
11+
- '!**/*.md'
12+
- '!**/LICENSE*'
13+
- '!**/.gitignore'
14+
- '!**/.editorconfig'
15+
- '!**/*.png'
16+
- '!**/*.jpg'
17+
- '!**/*.jpeg'
18+
- '!**/*.gif'
19+
- '!**/*.svg'
2120
workflow_dispatch:
2221
merge_group:
2322

.github/workflows/nodejs-sdk-tests.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@ on:
1010
- 'test/**'
1111
- '.github/workflows/nodejs-sdk-tests.yml'
1212
- '.github/actions/setup-copilot/**'
13-
paths-ignore:
14-
- '**/*.md'
15-
- '**/LICENSE*'
16-
- '**/.gitignore'
17-
- '**/.editorconfig'
18-
- '**/*.png'
19-
- '**/*.jpg'
20-
- '**/*.jpeg'
21-
- '**/*.gif'
22-
- '**/*.svg'
13+
- '!**/*.md'
14+
- '!**/LICENSE*'
15+
- '!**/.gitignore'
16+
- '!**/.editorconfig'
17+
- '!**/*.png'
18+
- '!**/*.jpg'
19+
- '!**/*.jpeg'
20+
- '!**/*.gif'
21+
- '!**/*.svg'
2322
workflow_dispatch:
2423
merge_group:
2524

.github/workflows/python-sdk-tests.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,15 @@ on:
1111
- 'nodejs/package.json'
1212
- '.github/workflows/python-sdk-tests.yml'
1313
- '.github/actions/setup-copilot/**'
14-
paths-ignore:
15-
- '**/*.md'
16-
- '**/LICENSE*'
17-
- '**/.gitignore'
18-
- '**/.editorconfig'
19-
- '**/*.png'
20-
- '**/*.jpg'
21-
- '**/*.jpeg'
22-
- '**/*.gif'
23-
- '**/*.svg'
14+
- '!**/*.md'
15+
- '!**/LICENSE*'
16+
- '!**/.gitignore'
17+
- '!**/.editorconfig'
18+
- '!**/*.png'
19+
- '!**/*.jpg'
20+
- '!**/*.jpeg'
21+
- '!**/*.gif'
22+
- '!**/*.svg'
2423
workflow_dispatch:
2524
merge_group:
2625

0 commit comments

Comments
 (0)