Skip to content

pkgcheck

pkgcheck #155

Workflow file for this run

name: pkgcheck
# This will cancel running jobs once a new run is triggered
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
on:
# Manually trigger the Action under Actions/pkgcheck
workflow_dispatch:
# Run after other checks
workflow_run:
workflows: ["R-CMD-check", "test-coverage.yaml", "check-html5", "render-readme"]
types:
- completed
jobs:
pkgcheck:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
RUN_JAVA_DOWNLOAD_TESTS: "TRUE"
RUN_JAVA_DOWNLOAD_TESTS_QUIET: "FALSE"
RUN_JAVA_DOWNLOAD_TESTS_QUIET_DOWNLOAD: "TRUE"
permissions:
contents: read
issues: write
pull-requests: write
actions: read
steps:
- uses: actions/checkout@v4
- name: Grant safe directory permissions for pkgcheck container
run: |
sudo chown -R root:root .
git config --global --add safe.directory '*'
mkdir -p /home/runner/work/_temp/_github_home
printf "[safe]\n\tdirectory = *\n" > /home/runner/work/_temp/_github_home/.gitconfig
- uses: ropensci-review-tools/pkgcheck-action@main
with:
ref: ''