From dc37d904abcd2c493506d339db93005d21a91930 Mon Sep 17 00:00:00 2001 From: "Martin R. Smith" <1695515+ms609@users.noreply.github.com> Date: Thu, 27 Jun 2024 11:50:15 +0100 Subject: [PATCH] On completed R CMD check only --- .github/workflows/revdepcheck.yml | 45 +++++-------------------------- 1 file changed, 7 insertions(+), 38 deletions(-) diff --git a/.github/workflows/revdepcheck.yml b/.github/workflows/revdepcheck.yml index 828b8c85d..4cc1f1e69 100644 --- a/.github/workflows/revdepcheck.yml +++ b/.github/workflows/revdepcheck.yml @@ -1,46 +1,15 @@ name: rev-dep-check on: + workflow_dispatch: + workflow_run: + workflows: ["R-CMD-check"] + types: + - completed push: - branches: - - main - - master - paths-ignore: - - "Meta**" - - "docs**" - - "inst**" - - "man**" - - "man-roxygen**" - - "memcheck**" - - "tests**" - - "vignettes**" - - "**.git" - - "**.json" - - "**.md" - - "**.yml" - - "!**revdepcheck.yml" - - "**.R[dD]ata" - - "**.Rpro*" + paths: "**revdepcheck.yml" pull_request: - branches: - - main - - master - paths-ignore: - - "Meta**" - - "docs**" - - "inst**" - - "man**" - - "man-roxygen**" - - "memcheck**" - - "tests**" - - "vignettes**" - - "**.git" - - "**.json" - - "**.md" - - "**.yml" - - "!**revdepcheck.yml" - - "**.R[dD]ata" - - "**.Rpro*" + paths: "**revdepcheck.yml" jobs: mem-check: