Skip to content

Commit b70d12c

Browse files
committed
Ignore just docs updates on PR
1 parent 75281c2 commit b70d12c

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/workflows/continuous.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,13 @@ on:
2222
- master
2323
- 'release/*'
2424
paths:
25-
- '!**/*.md'
26-
- '!**/*.yml'
27-
- '!**/*.yaml'
28-
- '!**/*.png'
25+
- '!docs/**'
2926
pull_request:
3027
branches:
3128
- master
3229
- 'release/*'
3330
paths:
34-
- '!**/*.md'
35-
- '!**/*.yml'
36-
- '!**/*.yaml'
37-
- '!**/*.png'
31+
- '!docs/**'
3832

3933
jobs:
4034
windows-latest:

build/Build.GitHub.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
PublishArtifacts = false,
1212
InvokedTargets = new[] { nameof(Cover), nameof(Pack) },
1313
ImportGitHubTokenAs = nameof(GitHubToken),
14-
OnPushExcludePaths = new[] { "**/*.md", "**/*.yml", "**/*.yaml", "**/*.png" },
15-
OnPullRequestExcludePaths = new[] { "**/*.md", "**/*.yml", "**/*.yaml", "**/*.png" })]
14+
OnPushExcludePaths = new[] { "docs/**" },
15+
OnPullRequestExcludePaths = new[] { "docs/**" })]
1616
[GitHubActions(
1717
"release",
1818
GitHubActionsImage.WindowsLatest,

0 commit comments

Comments
 (0)