From 5b48f784ae45cdeb7161e85f274283327cde24e7 Mon Sep 17 00:00:00 2001 From: Mohammed Al Sahaf Date: Fri, 12 Jun 2020 22:51:04 +0300 Subject: ci: don't run s390x tests on PRs of forks (#3494) * ci: don't run s390x tests on PRs of forks * ci: check if fork by matchinging name from event against name of repo --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0f3261..67e15d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -123,7 +123,7 @@ jobs: s390x-test: name: test (s390x on IBM Z) runs-on: ubuntu-latest - if: ${{ github.repository == 'caddyserver/caddy' }} + if: github.event.pull_request.head.repo.full_name == github.repository steps: - name: Checkout code into the Go module directory uses: actions/checkout@v2 -- cgit v1.2.3