From 02235ac0714e41cf03cf4a8ddd1291468246d768 Mon Sep 17 00:00:00 2001 From: Alberson Miranda Date: Fri, 6 Sep 2024 07:28:50 -0300 Subject: [PATCH] update CI workflows so that they are triggered by changing PR status from draft to ready --- .github/workflows/R-CMD-check.yaml | 5 +++++ .github/workflows/lint.yaml | 5 +++++ .github/workflows/test-coverage.yaml | 5 +++++ .github/workflows/test_pkg_gen.yaml | 13 +++++++------ 4 files changed, 22 insertions(+), 6 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index c9310b18..6e9a8aee 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -3,6 +3,11 @@ on: branches: [main, master] pull_request: branches: [main, master] + types: + - opened + - reopened + - synchronize + - ready_for_review name: R-CMD-check diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index f4c4ef2d..88110fe7 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -5,6 +5,11 @@ on: branches: [main, master] pull_request: branches: [main, master] + types: + - opened + - reopened + - synchronize + - ready_for_review name: lint diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 44c75e97..7d32bd81 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -5,6 +5,11 @@ on: branches: [main, master] pull_request: branches: [main, master] + types: + - opened + - reopened + - synchronize + - ready_for_review name: test-coverage diff --git a/.github/workflows/test_pkg_gen.yaml b/.github/workflows/test_pkg_gen.yaml index 1292929f..31826280 100644 --- a/.github/workflows/test_pkg_gen.yaml +++ b/.github/workflows/test_pkg_gen.yaml @@ -1,12 +1,13 @@ on: push: - branches: - - main - - master + branches: [main, master] pull_request: - branches: - - main - - master + branches: [main, master] + types: + - opened + - reopened + - synchronize + - ready_for_review name: Test package generation