From 949dccb47f1b073baa79001661fee5abe775ca1e Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 21 Aug 2024 16:03:40 +0200 Subject: [PATCH] run on both PR and push but without duplication --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eda3cec..2bedb91 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,7 @@ name: Test on: pull_request: + push: schedule: - cron: '0 0 */7 * *' @@ -8,8 +9,9 @@ env: FORCE_COLOR: 1 jobs: - build: + test: runs-on: ${{ matrix.os }} + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository strategy: fail-fast: false matrix: