summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMohammed Al Sahaf <msaa1990@gmail.com>2020-06-12 22:51:04 +0300
committerGitHub <noreply@github.com>2020-06-12 19:51:04 +0000
commit5b48f784ae45cdeb7161e85f274283327cde24e7 (patch)
treee5054699ec847eec24d9b633760990970a7ef0fb /.github
parentd84a5d84278686d7400b3754b0422f85f5541326 (diff)
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
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
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