don't run on PRs from forks

pull/4506/head
webzwo0i 2020-11-23 00:37:23 +01:00
parent f8630b11c0
commit 277a9f8fb9
1 changed files with 4 additions and 0 deletions

View File

@ -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