From 54e39e6959db2d52e80cea2354cd240d41f305fe Mon Sep 17 00:00:00 2001 From: James McMahon Date: Thu, 19 Dec 2024 10:52:21 +0000 Subject: [PATCH] Create pkgcheck.yaml --- .github/workflows/pkgcheck.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/pkgcheck.yaml diff --git a/.github/workflows/pkgcheck.yaml b/.github/workflows/pkgcheck.yaml new file mode 100644 index 0000000..ec877ba --- /dev/null +++ b/.github/workflows/pkgcheck.yaml @@ -0,0 +1,24 @@ +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 on every push to main + push: + branches: + - main + pull_request: + branches: [main, master] + +jobs: + pkgcheck: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: ropensci-review-tools/pkgcheck-action@main