From 5e0d8601fab7703a0dabde483831b67460b6f52a Mon Sep 17 00:00:00 2001 From: "Adam H. Sparks" Date: Mon, 2 Sep 2024 06:39:23 +0800 Subject: [PATCH] add cran check workflow --- .github/workflows/cran-checks.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/cran-checks.yaml diff --git a/.github/workflows/cran-checks.yaml b/.github/workflows/cran-checks.yaml new file mode 100644 index 00000000..3986734f --- /dev/null +++ b/.github/workflows/cran-checks.yaml @@ -0,0 +1,18 @@ +name: Check CRAN status + +on: + schedule: + # Runs daily at 4:00 PM UTC (9:00 AM PST) + - cron: '0 16 * * *' + # allows for manually running of the check + workflow_dispatch: + +jobs: + check_cran_status: + runs-on: ubuntu-latest + + steps: + - name: Get CRAN checks + uses: flrsh-dev/cran-checks/check-pkg@main + with: + pkg: YOUR-PKG-NAME