From b410ea76d1f7e6d142201d884cb28dd595b5176f Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Wed, 13 May 2020 17:23:47 +0900 Subject: [PATCH] Skip test job for pull requests from forks --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc021ee..a3234e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,7 @@ jobs: path: dist test: + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository needs: [build] runs-on: ubuntu-latest strategy: