Skip to content

Commit 8ab0b2b

Browse files
authored
Add more path filters and manual triggers to GitHub Actions workflows (#7280)
1 parent dac4255 commit 8ab0b2b

File tree

6 files changed

+24
-0
lines changed

6 files changed

+24
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
on:
22
schedule:
33
- cron: '17 13 23 * *' # 23rd of month at 13:17 UTC
4+
workflow_dispatch:
45

56
# A more complete suite of checks to run monthly; each PR/merge need not pass all these, but they should pass before CRAN release
67
name: R-CMD-check-occasional

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- master
77
pull_request:
8+
workflow_dispatch:
89

910
name: R-CMD-check
1011

.github/workflows/code-quality.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ on:
22
push:
33
branches: [master]
44
pull_request:
5+
workflow_dispatch:
56

67
name: code-quality
78

.github/workflows/performance-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- 'R/**'
1111
- 'src/**'
1212
- '.ci/atime/**'
13+
workflow_dispatch:
1314

1415
jobs:
1516
comment:

.github/workflows/rchk.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@
1818
on:
1919
push:
2020
branches: [master]
21+
paths:
22+
- '.github/workflows/rchk.yaml'
23+
- 'src/**'
2124
pull_request:
25+
paths:
26+
- '.github/workflows/rchk.yaml'
27+
- 'src/**'
28+
workflow_dispatch:
2229

2330
name: 'rchk'
2431

.github/workflows/test-coverage.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,20 @@
33
on:
44
push:
55
branches: [master]
6+
paths:
7+
- '.github/workflows/test-coverage.yaml'
8+
- 'inst/tests/**'
9+
- 'R/**'
10+
- 'src/**'
11+
- 'tests/**'
612
pull_request:
13+
paths:
14+
- '.github/workflows/test-coverage.yaml'
15+
- 'inst/tests/**'
16+
- 'R/**'
17+
- 'src/**'
18+
- 'tests/**'
19+
workflow_dispatch:
720

821
name: test-coverage.yaml
922

0 commit comments

Comments
 (0)