Skip to content

Commit a1a3a0b

Browse files
authored
Merge pull request #7871 from gojimmypi/pr-repo-owner-check
Add conditional repository_owner to workflow
2 parents 46f6a60 + 27adc66 commit a1a3a0b

33 files changed

Lines changed: 63 additions & 2 deletions

.github/workflows/async.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
'--enable-ocsp CFLAGS="-DTEST_NONBLOCK_CERTS"',
2424
]
2525
name: make check
26+
if: github.repository_owner == 'wolfssl'
2627
runs-on: ubuntu-latest
2728
# This should be a safe limit for the tests to run.
2829
timeout-minutes: 6

.github/workflows/curl.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ concurrency:
1515
jobs:
1616
build_wolfssl:
1717
name: Build wolfSSL
18+
if: github.repository_owner == 'wolfssl'
1819
runs-on: ubuntu-latest
1920
# This should be a safe limit for the tests to run.
2021
timeout-minutes: 4
@@ -38,6 +39,7 @@ jobs:
3839

3940
test_curl:
4041
name: ${{ matrix.curl_ref }}
42+
if: github.repository_owner == 'wolfssl'
4143
runs-on: ubuntu-latest
4244
# This should be a safe limit for the tests to run.
4345
timeout-minutes: 15

.github/workflows/cyrus-sasl.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ concurrency:
1515
jobs:
1616
build_wolfssl:
1717
name: Build wolfSSL
18+
if: github.repository_owner == 'wolfssl'
1819
# Just to keep it the same as the testing target
1920
runs-on: ubuntu-latest
2021
# This should be a safe limit for the tests to run.
@@ -46,6 +47,7 @@ jobs:
4647
# List of releases to test
4748
ref: [ 2.1.28 ]
4849
name: ${{ matrix.ref }}
50+
if: github.repository_owner == 'wolfssl'
4951
runs-on: ubuntu-latest
5052
# This should be a safe limit for the tests to run.
5153
timeout-minutes: 4

.github/workflows/disabled/haproxy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
# List of refs to test
2121
ref: [ master ]
2222
name: ${{ matrix.ref }}
23+
if: github.repository_owner == 'wolfssl'
2324
runs-on: ubuntu-latest
2425
steps:
2526
- name: Build wolfSSL

.github/workflows/disabled/hostap.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- build_id: hostap-build2
2323
wolf_extra_config: --enable-brainpool --enable-wpas-dpp
2424
name: Build wolfSSL
25+
if: github.repository_owner == 'wolfssl'
2526
# Just to keep it the same as the testing target
2627
runs-on: ubuntu-20.04
2728
# This should be a safe limit for the tests to run.
@@ -99,6 +100,7 @@ jobs:
99100
build_id: hostap-build2
100101
}
101102
name: hwsim test
103+
if: github.repository_owner == 'wolfssl'
102104
# For openssl 1.1
103105
runs-on: ubuntu-20.04
104106
# This should be a safe limit for the tests to run.

.github/workflows/docker-Espressif.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ concurrency:
1414
jobs:
1515
espressif_latest:
1616
name: latest Docker container
17+
if: github.repository_owner == 'wolfssl'
1718
runs-on: ubuntu-latest
1819
# This should be a safe limit for the tests to run.
1920
timeout-minutes: 12
@@ -25,6 +26,7 @@ jobs:
2526
run: . /opt/esp/idf/export.sh; IDE/Espressif/ESP-IDF/compileAllExamples.sh
2627
espressif_v4_4:
2728
name: v4.4 Docker container
29+
if: github.repository_owner == 'wolfssl'
2830
runs-on: ubuntu-latest
2931
container:
3032
image: espressif/idf:release-v4.4
@@ -34,6 +36,7 @@ jobs:
3436
run: . /opt/esp/idf/export.sh; IDE/Espressif/ESP-IDF/compileAllExamples.sh
3537
espressif_v5_0:
3638
name: v5.0 Docker container
39+
if: github.repository_owner == 'wolfssl'
3740
runs-on: ubuntu-latest
3841
container:
3942
image: espressif/idf:release-v5.0

.github/workflows/docker-OpenWrt.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ concurrency:
1717
jobs:
1818
build_library:
1919
name: Compile libwolfssl.so
20+
if: github.repository_owner == 'wolfssl'
2021
runs-on: ubuntu-latest
2122
# This should be a safe limit for the tests to run.
2223
timeout-minutes: 4
@@ -40,6 +41,7 @@ jobs:
4041
retention-days: 5
4142
compile_container:
4243
name: Compile container
44+
if: github.repository_owner == 'wolfssl'
4345
runs-on: ubuntu-latest
4446
# This should be a safe limit for the tests to run.
4547
timeout-minutes: 2

.github/workflows/grpc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ concurrency:
1515
jobs:
1616
build_wolfssl:
1717
name: Build wolfSSL
18+
if: github.repository_owner == 'wolfssl'
1819
# Just to keep it the same as the testing target
1920
runs-on: ubuntu-latest
2021
# This should be a safe limit for the tests to run.
@@ -50,6 +51,7 @@ jobs:
5051
test_core_security_ssl_credentials_test test_cpp_end2end_ssl_credentials_test
5152
h2_ssl_cert_test h2_ssl_session_reuse_test
5253
name: ${{ matrix.ref }}
54+
if: github.repository_owner == 'wolfssl'
5355
runs-on: ubuntu-latest
5456
# This should be a safe limit for the tests to run.
5557
timeout-minutes: 30

.github/workflows/hitch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ concurrency:
1515
jobs:
1616
build_wolfssl:
1717
name: Build wolfSSL
18+
if: github.repository_owner == 'wolfssl'
1819
# Just to keep it the same as the testing target
1920
runs-on: ubuntu-latest
2021
# This should be a safe limit for the tests to run.
@@ -47,6 +48,7 @@ jobs:
4748
ignore-tests: >-
4849
test13-r82.sh test15-proxy-v2-npn.sh test39-client-cert-proxy.sh
4950
name: ${{ matrix.ref }}
51+
if: github.repository_owner == 'wolfssl'
5052
runs-on: ubuntu-latest
5153
# This should be a safe limit for the tests to run.
5254
timeout-minutes: 4

.github/workflows/hostap-vm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
--enable-wpas-dpp --enable-brainpool --with-eccminsz=192
2828
--enable-tlsv10 --enable-oldtls
2929
name: Build wolfSSL
30+
if: github.repository_owner == 'wolfssl'
3031
runs-on: ubuntu-latest
3132
# This should be a safe limit for the tests to run.
3233
timeout-minutes: 10
@@ -64,6 +65,7 @@ jobs:
6465

6566
build_uml_linux:
6667
name: Build UML (UserMode Linux)
68+
if: github.repository_owner == 'wolfssl'
6769
runs-on: ubuntu-latest
6870
# This should be a safe limit for the tests to run.
6971
timeout-minutes: 10
@@ -140,6 +142,7 @@ jobs:
140142
}
141143
name: hwsim test
142144
# For openssl 1.1
145+
if: github.repository_owner == 'wolfssl'
143146
runs-on: ubuntu-latest
144147
# This should be a safe limit for the tests to run.
145148
timeout-minutes: 45

0 commit comments

Comments
 (0)