Skip to content

Commit 60fe8d3

Browse files
change checks ci
1 parent 3d4c4a5 commit 60fe8d3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
on:
44
push:
55
branches:
6-
- main
7-
- master
6+
- '**'
87
pull_request:
98
branches:
10-
- main
11-
- master
9+
- '**'
1210

1311
name: R-CMD-check
1412

@@ -81,7 +79,7 @@ jobs:
8179
shell: Rscript {0}
8280

8381
- name: Upload check results
84-
if: failure()
82+
if: failure() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
8583
uses: actions/upload-artifact@main
8684
with:
8785
name: ${{ runner.os }}-r${{ matrix.config.r }}-results

0 commit comments

Comments
 (0)