Skip to content

REVDEPCHECK - use gh pat #245

REVDEPCHECK - use gh pat

REVDEPCHECK - use gh pat #245

Workflow file for this run

on: push
name: revdep
jobs:
revdep:
runs-on: ubuntu-22.04
if: startsWith(github.event.head_commit.message, 'REVDEPCHECK')
name: ubuntu-22.04 (release)
strategy:
fail-fast: false
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
GITHUB_PAT: ${{ secrets.GH_PAT }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
r-version: release
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r-dependencies@v2
- name: Revdepcheck
run: Rscript -e "install.packages('remotes')" -e "remotes::install_github('r-lib/revdepcheck')" -e "revdepcheck::revdep_reset()" -e "revdepcheck::revdep_check(num_workers=4)"
- name: Upload revdepcheck results
uses: actions/upload-artifact@v3
with:
name: ubuntu-22-04-r-release-results
path: revdep/*.md