From 7a3b4590014c24253676503e6348fb54d9fc8424 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Thu, 17 Jun 2021 11:13:53 +0200 Subject: [PATCH] :green_heart: Run CI tests also on PR from fork --- .github/workflows/deploy.yaml | 3 ++- .github/workflows/test.yaml | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index d902c078d..ec6896272 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -4,7 +4,8 @@ on: types: [opened, synchronize] push: branches: [master, demo, next] - + pull_request_target: + types: [opened, synchronize] # We display the release notes in the "news" section of mon-entreprise.fr so # we want to re-deploy the site when a new release is published or edited on # GitHub. diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 324e7baa8..96e93fdd7 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,5 +1,8 @@ name: Tests -on: push +on: + push: + pull_request_target: + types: [opened, synchronize] jobs: lint: