From c8e79928eba881d63b33a5c178dffe47ae0f1187 Mon Sep 17 00:00:00 2001 From: Jindra Lacko Date: Thu, 6 Feb 2025 16:27:44 +0100 Subject: [PATCH] option of starting workflows manually --- .github/workflows/R-CMD-check.yaml | 3 ++- .github/workflows/coverage.yaml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index f7e920e..478b1ea 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -9,10 +9,11 @@ on: branches: - master - main - # 2) every 4th day of month at CET noon last commit on default branch (i.e. master) schedule: - cron: "0 11 4 * *" + # 3) manual trigger option... + worflow_dispatch: name: R-CMD-check diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index f0cc670..cc83fcc 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -1,11 +1,14 @@ # For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag. # https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions on: + # either: pull request to master opened pull_request: types: - opened branches: - master + # or: manual trigger from GitHub pages + workflow_dispatch: name: test-coverage