From 0093c6d4dc65f2c1b3fba770c43af4d91f87576b Mon Sep 17 00:00:00 2001 From: Isaac Virshup Date: Tue, 19 Sep 2023 14:12:05 +0200 Subject: [PATCH] Make actions run on PRs on forks --- .github/workflows/R-CMD-check.yaml | 5 ++++- .github/workflows/lint.yaml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index a804110c..f0830757 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -1,6 +1,9 @@ # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help -on: push +on: + push: + pull_request: + branches: [main, master] name: R-CMD-check diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 7b2ef39c..741683cf 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,6 +1,9 @@ # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help -on: push +on: + push: + pull_request: + branches: [main, master] name: lint