diff options
author | Mohammed Al Sahaf <[email protected]> | 2024-11-30 15:30:55 +0300 |
---|---|---|
committer | Mohammed Al Sahaf <[email protected]> | 2024-11-30 16:02:41 +0300 |
commit | f45e783bc1ee79c147887404c1096ab53636304d (patch) | |
tree | fec4bc5737877e57c928493cb54c42f72d5ddae9 | |
parent | 22b9d512687cdcfbf0c574a645fcf0edd23a584f (diff) | |
download | caddy-f45e783bc1ee79c147887404c1096ab53636304d.tar.gz caddy-f45e783bc1ee79c147887404c1096ab53636304d.zip |
ci: prevent jobs running on PRs from forkslimit-jobs-forks
Signed-off-by: Mohammed Al Sahaf <[email protected]>
-rw-r--r-- | .github/workflows/ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 049003233..c16af8db5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -143,7 +143,7 @@ jobs: s390x-test: name: test (s390x on IBM Z) runs-on: ubuntu-latest - if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' + if: github.event.pull_request.head.repo.full_name == 'caddyserver/caddy' && github.actor != 'dependabot[bot]' continue-on-error: true # August 2020: s390x VM is down due to weather and power issues steps: - name: Checkout code @@ -194,7 +194,7 @@ jobs: goreleaser-check: runs-on: ubuntu-latest - if: github.repository_owner == 'caddyserver' && github.actor != 'dependabot[bot]' + if: github.event.pull_request.head.repo.full_name == 'caddyserver/caddy' && github.actor != 'dependabot[bot]' steps: - name: Checkout code uses: actions/checkout@v4 |