diff options
author | Mohammed Al Sahaf <[email protected]> | 2024-11-30 17:05:09 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2024-11-30 17:05:09 +0300 |
commit | 16d5b22349e7fe6aac876c2581df954578f595fd (patch) | |
tree | fec4bc5737877e57c928493cb54c42f72d5ddae9 | |
parent | 22b9d512687cdcfbf0c574a645fcf0edd23a584f (diff) | |
download | caddy-16d5b22349e7fe6aac876c2581df954578f595fd.tar.gz caddy-16d5b22349e7fe6aac876c2581df954578f595fd.zip |
ci: prevent jobs running on PRs from forks (#6720)
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 |