From 0910b5f4df6b33ef89b4aae501d1f6db00e206ef Mon Sep 17 00:00:00 2001 From: js2264 Date: Fri, 28 Apr 2023 20:32:53 +0200 Subject: [PATCH] rename master to devel --- .github/workflows/check-bioc.yml | 10 +++++----- .github/workflows/pkgdown.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-bioc.yml b/.github/workflows/check-bioc.yml index 517e4b5..5a01e0d 100644 --- a/.github/workflows/check-bioc.yml +++ b/.github/workflows/check-bioc.yml @@ -210,13 +210,13 @@ jobs: shell: Rscript {0} - name: Install covr - if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && env.run_covr == 'true' && runner.os == 'Linux' + if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/devel') && env.run_covr == 'true' && runner.os == 'Linux' run: | remotes::install_cran("covr") shell: Rscript {0} - name: Install pkgdown - if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/devel') && env.run_pkgdown == 'true' && runner.os == 'Linux' run: | remotes::install_github("r-lib/pkgdown") shell: Rscript {0} @@ -266,17 +266,17 @@ jobs: shell: Rscript {0} - name: Test coverage - if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && env.run_covr == 'true' && runner.os == 'Linux' + if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/devel') && env.run_covr == 'true' && runner.os == 'Linux' run: | covr::codecov() shell: Rscript {0} - name: Install package - if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/devel') && env.run_pkgdown == 'true' && runner.os == 'Linux' run: R CMD INSTALL . - name: Build and deploy pkgdown site - if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && env.run_pkgdown == 'true' && runner.os == 'Linux' + if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/devel') && env.run_pkgdown == 'true' && runner.os == 'Linux' run: | PKG=`head DESCRIPTION -n 1 | sed 's,.* ,,'` echo $PKG diff --git a/.github/workflows/pkgdown.yml b/.github/workflows/pkgdown.yml index 91b0d75..3be0f67 100644 --- a/.github/workflows/pkgdown.yml +++ b/.github/workflows/pkgdown.yml @@ -1,8 +1,8 @@ on: push: - branches: [main, master] + branches: [main, master, devel ] pull_request: - branches: [main, master] + branches: [main, master, devel ] release: types: [published] workflow_dispatch: