From 526d257bbd73e5edcde2c854f7fe7e77b2d6db5a Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Mon, 15 Nov 2021 09:33:01 +0100 Subject: [PATCH] Run CI actions on pull request instead of on push This should fix the CI actions not being run for external pull requests. They are still run on pushes to develop, master and tags (which should only happen on merges or new releases). --- .github/workflows/lint.yml | 9 ++++++++- .github/workflows/test.yml | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fc38b1bb24..03798020dd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,6 +1,13 @@ name: Lint -on: [push] +on: + push: + branches: + - master + - develop + tags: + - '*' + pull_request: jobs: ruby: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a202b2a27d..c3d65e5692 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,13 @@ name: Test -on: [push] +on: + push: + branches: + - master + - develop + tags: + - '*' + pull_request: jobs: ruby: