Browse Source

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
master
Mohammed Al Sahaf 5 years ago
committed by GitHub
parent
commit
5b48f784ae
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/ci.yml

2
.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

Loading…
Cancel
Save