Skip to content

pkgcheck

pkgcheck #38

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:
workflow_run:
workflows: ["R-CMD-check"]
types: [completed]
branches:
- main
workflow_dispatch:
jobs:
pkgcheck:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: read
steps:
- uses: actions/checkout@v4
- name: Find PR number
id: pr
run: |
PR="${{ github.event.workflow_run.pull_requests[0].number }}"
echo "pr=$PR" >> $GITHUB_OUTPUT
- uses: ropensci-review-tools/pkgcheck-action@main
with:
issue-number: ${{ steps.pr.outputs.pr }}
issue-title: "(Automated) pkgcheck report for ${{ github.repository }}"
append-to-issue: true
skip-checks: |
- lintr_assignment_linter