Skip to content

Commit 360335b

Browse files
committed
ci: use official rOpenSci pkgcheck config
1 parent 4a78778 commit 360335b

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed

.github/workflows/pkgcheck.yml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,21 @@
1+
name: pkgcheck
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.head_ref }}
5+
cancel-in-progress: true
6+
17
on:
8+
workflow_dispatch:
29
push:
310
branches:
411
- main
5-
pull_request:
6-
branches:
7-
- main
8-
9-
name: pkgcheck
1012

1113
jobs:
1214
pkgcheck:
1315
runs-on: ubuntu-latest
1416
permissions:
15-
contents: read
1617
issues: write
1718
steps:
18-
- uses: actions/checkout@v4
19-
20-
- uses: r-lib/actions/setup-r@v2
21-
with:
22-
r-version: 'release'
23-
use-public-rspm: true
24-
25-
- uses: r-lib/actions/setup-r-dependencies@v2
26-
with:
27-
extra-packages: any::rcmdcheck, any::roxygen2, any::pkgbuild
28-
2919
- uses: ropensci-review-tools/pkgcheck-action@main
30-
env:
31-
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
3220

3321

0 commit comments

Comments
 (0)