Skip to content

Commit b68824f

Browse files
committed
Update workflow paths for pull requests in GitHub Actions
1 parent 1dd0ec1 commit b68824f

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/docs.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ on:
55
branches:
66
- master
77
paths:
8+
- .github/workflows/docs.yml
9+
- docs/**/*
10+
pull_request:
11+
branches:
12+
- master
13+
types:
14+
- opened
15+
- reopened
16+
- synchronize
17+
paths:
18+
- .github/workflows/docs.yml
819
- docs/**/*
920
workflow_dispatch:
1021

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- master
77
paths:
8+
- .github/workflows/main.yml
89
- src/**/*
910
- Directory.Build.props
1011
pull_request:
@@ -14,6 +15,10 @@ on:
1415
- opened
1516
- reopened
1617
- synchronize
18+
paths:
19+
- .github/workflows/main.yml
20+
- src/**/*
21+
- Directory.Build.props
1722
workflow_dispatch:
1823
repository_dispatch:
1924

0 commit comments

Comments
 (0)