Skip to content

Commit 456e3c9

Browse files
committed
workflows: skip CI on forks
Match the wolfssl repo's convention (see .github/workflows/xcode.yml, ocsp.yml, etc.): gate each job with `if: github.repository_owner == 'wolfssl'` so Actions run only for the upstream repository owner and not for forks pushing their own branches.
1 parent 1aab369 commit 456e3c9

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
jobs:
1010
build:
11+
if: github.repository_owner == 'wolfssl'
1112
strategy:
1213
fail-fast: false
1314
matrix:

.github/workflows/windows-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
jobs:
1010
build:
11+
if: github.repository_owner == 'wolfssl'
1112
runs-on: windows-latest
1213
timeout-minutes: 10
1314

0 commit comments

Comments
 (0)