From 60fe8d37bbf56301ad605300f70813f165a86124 Mon Sep 17 00:00:00 2001 From: Pierre Lamarche Date: Sun, 22 Dec 2024 21:26:29 +0100 Subject: [PATCH] change checks ci --- .github/workflows/R-CMD-check.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 16809fa..9fddff5 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -3,12 +3,10 @@ on: push: branches: - - main - - master + - '**' pull_request: branches: - - main - - master + - '**' name: R-CMD-check @@ -81,7 +79,7 @@ jobs: shell: Rscript {0} - name: Upload check results - if: failure() + if: failure() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') uses: actions/upload-artifact@main with: name: ${{ runner.os }}-r${{ matrix.config.r }}-results