Skip to content

Commit 95d9d1c

Browse files
authored
[INFRA] Only run GH WF on source code changes (#62)
Avoid building when documentation is updated.
1 parent 76749f6 commit 95d9d1c

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/R-CMD-check.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,25 @@ on:
55
push:
66
branches:
77
- main
8+
paths:
9+
- '.github/workflows/R-CMD-check.yaml'
10+
- 'R/**/*'
11+
- 'inst/**/*'
12+
- 'man/**/*'
13+
- '.Rbuildignore'
14+
- 'DESCRIPTION'
15+
- 'NAMESPACE'
816
pull_request:
917
branches:
1018
- main
19+
paths:
20+
- '.github/workflows/R-CMD-check.yaml'
21+
- 'R/**/*'
22+
- 'inst/**/*'
23+
- 'man/**/*'
24+
- '.Rbuildignore'
25+
- 'DESCRIPTION'
26+
- 'NAMESPACE'
1127

1228
name: R-CMD-check
1329

0 commit comments

Comments
 (0)