From f4af4088cc533d42cccee541a535c776e26ad035 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 26 Apr 2024 09:16:58 +0200 Subject: [PATCH] reduce workflows --- .github/workflows/R-CMD-check-main.yaml | 11 +++++++++++ .github/workflows/R-CMD-check.yaml | 2 -- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/R-CMD-check-main.yaml diff --git a/.github/workflows/R-CMD-check-main.yaml b/.github/workflows/R-CMD-check-main.yaml new file mode 100644 index 000000000..724eee262 --- /dev/null +++ b/.github/workflows/R-CMD-check-main.yaml @@ -0,0 +1,11 @@ +# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples +# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help +on: + push: + branches: [main, master] + +name: R-CMD-check + +jobs: + R-CMD-check: + uses: easystats/workflows/.github/workflows/R-CMD-check-main.yaml@main diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 80e71c5ac..fb89f7548 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -1,8 +1,6 @@ # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help on: - push: - branches: [main, master] pull_request: branches: [main, master]