Skip to content

Commit e4b968f

Browse files
committed
Go-go CRAN submission workflow!
1 parent d52439a commit e4b968f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/submit-cran.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Submit to CRAN
2+
3+
on:
4+
release:
5+
types: [prereleased] # Only trigger on pre-releases
6+
7+
jobs:
8+
cran-submission:
9+
runs-on: ubuntu-latest
10+
name: Submit package to CRAN
11+
permissions:
12+
contents: read
13+
issues: write # Needed to create issues
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Submit R package to CRAN
18+
uses: coatless-actions/cran-submission@v1
19+
with:
20+
pkg-directory: '.' # Directory containing the package
21+
check-directory: 'check' # Directory for check outputs
22+
error-on: 'warning' # Fail on warnings
23+
create-issue: true # Create issues to track submissions

0 commit comments

Comments
 (0)