Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 12, 05:45 UTC
ci: prevent jobs running on PRs from forks (#6720)
Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
Mohammed Al Sahaf committed
Nov 30, 2024 at 17:05 UTC
16d5b22349e7fe6aac876c2581df954578f595fd
1 file changed
+2
-2
.github/workflows/ci.yml
+2
-2
@@ -143,7 +143,7 @@ jobs:
143
s390x-test:
144
name: test (s390x on IBM Z)
145
runs-on: ubuntu-latest
146
- if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'
146
+ if: github.event.pull_request.head.repo.full_name == 'caddyserver/caddy' && github.actor != 'dependabot[bot]'
147
continue-on-error: true # August 2020: s390x VM is down due to weather and power issues
148
steps:
149
- name: Checkout code
@@ -194,7 +194,7 @@ jobs:
194
195
goreleaser-check:
196
runs-on: ubuntu-latest
197
- if: github.repository_owner == 'caddyserver' && github.actor != 'dependabot[bot]'
197
+ if: github.event.pull_request.head.repo.full_name == 'caddyserver/caddy' && github.actor != 'dependabot[bot]'
198
steps:
199
- name: Checkout code
200
uses: actions/checkout@v4