Skip to content

Commit c4909c4

Browse files
committed
workflows: Don't run on non-code changes
1 parent 9f6cbe7 commit c4909c4

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/dotnet10.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,26 @@ name: .NET 10
66
on:
77
push:
88
branches: [ "mainline" ]
9+
paths-ignore:
10+
- 'docs/**'
11+
- 'examples/**'
12+
- 'samples/**'
13+
- 'snippets/**'
14+
- 'build_tools/**'
15+
- 'dogfood_output/**'
16+
- '*.md'
17+
- 'LICENSE'
918
pull_request:
1019
branches: [ "mainline" ]
20+
paths-ignore:
21+
- 'docs/**'
22+
- 'examples/**'
23+
- 'samples/**'
24+
- 'snippets/**'
25+
- 'build_tools/**'
26+
- 'dogfood_output/**'
27+
- '*.md'
28+
- 'LICENSE'
1129

1230
jobs:
1331
build:

.github/workflows/dotnet9.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,26 @@ name: .NET 9
66
on:
77
push:
88
branches: [ "mainline" ]
9+
paths-ignore:
10+
- 'docs/**'
11+
- 'examples/**'
12+
- 'samples/**'
13+
- 'snippets/**'
14+
- 'build_tools/**'
15+
- 'dogfood_output/**'
16+
- '*.md'
17+
- 'LICENSE'
918
pull_request:
1019
branches: [ "mainline" ]
20+
paths-ignore:
21+
- 'docs/**'
22+
- 'examples/**'
23+
- 'samples/**'
24+
- 'snippets/**'
25+
- 'build_tools/**'
26+
- 'dogfood_output/**'
27+
- '*.md'
28+
- 'LICENSE'
1129

1230
jobs:
1331
build:

0 commit comments

Comments
 (0)