From 7da24206559564ef42772103cc11ffaa0f224683 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Wed, 13 May 2020 17:20:12 +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 796defc..872e5d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,7 @@ jobs: fi test: + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository needs: [build] runs-on: ubuntu-latest strategy: