From 277a9f8fb919964afeabf834188e0f446f5324ee Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Mon, 23 Nov 2020 00:37:23 +0100 Subject: [PATCH] don't run on PRs from forks --- .github/workflows/frontend-tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml index 78cc618f1..f9ea525cb 100644 --- a/.github/workflows/frontend-tests.yml +++ b/.github/workflows/frontend-tests.yml @@ -5,6 +5,8 @@ on: [push, pull_request] jobs: withoutplugins: + # don't run on PRs from forks + if: github.event.pull_request.head.repo.full_name == 'ether/etherpad-lite' || github.event_name == 'push' name: Frontend tests without plugins runs-on: ubuntu-latest @@ -41,6 +43,8 @@ jobs: tests/frontend/travis/runner.sh withplugins: + # don't run on PRs from forks + if: github.event.pull_request.head.repo.full_name == 'ether/etherpad-lite' || github.event_name == 'push' name: Frontend tests with plugins runs-on: ubuntu-latest