From c3c959deadede020d4c77c9bbf04ebfbb2d5b4c2 Mon Sep 17 00:00:00 2001 From: David Collins Date: Wed, 18 Dec 2024 13:16:02 -0500 Subject: [PATCH] Update workflow to trigger on pushed to check/pre-release --- .github/workflows/pre-release_checks.yaml | 31 ++++++++++------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/.github/workflows/pre-release_checks.yaml b/.github/workflows/pre-release_checks.yaml index 01854fd48..dd6b9551c 100644 --- a/.github/workflows/pre-release_checks.yaml +++ b/.github/workflows/pre-release_checks.yaml @@ -1,21 +1,18 @@ -on: - workflow_dispatch: - inputs: - which: - type: choice - description: Which dependents to check - options: - - strong - - most - -name: Reverse dependency check +name: Pre-Release Checks +# Once the default branch for satijalab/seurat has been updated to from +# `master` to `main` this workflow will be triggered on `workflow_dispatch`. +# Until then, we'll manually rebase this branch onto whatever branch +# we'd like to run the workflow against. +on: + push: + branches: + - check/pre-release + +# Runs a reverse dependency check similar to CRAN, for more details see +# https://github.com/r-devel/recheck. jobs: - revdep_check: - name: Reverse check ${{ inputs.which }} dependents + check-reverse-dependencies: uses: r-devel/recheck/.github/workflows/recheck.yml@v1 with: - which: ${{ inputs.which }} - subdirectory: '' # set if your R package is in a subdir of the git repo - repository: '' # set to recheck an R package from another git repo - ref: '' # set to recheck a custom tag/branch from another repo + which: most