Merge pull request #8936 from gojimmypi/pr-workflow-owner

Ensure workflows only run for wolfssl repository_owner
This commit is contained in:
Daniel Pouzzner
2025-06-27 22:29:46 -05:00
committed by GitHub
8 changed files with 9 additions and 4 deletions

View File

@@ -9,6 +9,7 @@ on:
jobs: jobs:
build: build:
if: github.repository_owner == 'wolfssl'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View File

@@ -8,7 +8,7 @@ on:
jobs: jobs:
build: build:
if: github.repository_owner == 'wolfssl'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View File

@@ -16,9 +16,9 @@ concurrency:
jobs: jobs:
build_wolfssl: build_wolfssl:
name: Build wolfSSL name: Build wolfSSL
if: github.repository_owner == 'wolfssl'
# Just to keep it the same as the testing target # Just to keep it the same as the testing target
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
if: github.repository_owner == 'wolfssl'
# This should be a safe limit for the tests to run. # This should be a safe limit for the tests to run.
timeout-minutes: 4 timeout-minutes: 4
steps: steps:

View File

@@ -54,10 +54,10 @@ jobs:
mbedtls_test: mbedtls_test:
name: Test interop with mbedtls name: Test interop with mbedtls
if: github.repository_owner == 'wolfssl'
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build_mbedtls needs: build_mbedtls
timeout-minutes: 10 timeout-minutes: 10
if: github.repository_owner == 'wolfssl'
steps: steps:
- name: Disable IPv6 (IMPORTANT, OTHERWISE DTLS MBEDTLS CLIENT WON'T CONNECT) - name: Disable IPv6 (IMPORTANT, OTHERWISE DTLS MBEDTLS CLIENT WON'T CONNECT)
run: echo 1 | sudo tee /proc/sys/net/ipv6/conf/lo/disable_ipv6 run: echo 1 | sudo tee /proc/sys/net/ipv6/conf/lo/disable_ipv6

View File

@@ -14,6 +14,7 @@ concurrency:
jobs: jobs:
msys2: msys2:
if: github.repository_owner == 'wolfssl'
runs-on: windows-latest runs-on: windows-latest
defaults: defaults:
run: run:

View File

@@ -59,10 +59,10 @@ jobs:
nss_test: nss_test:
name: Test interop with nss name: Test interop with nss
if: github.repository_owner == 'wolfssl'
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
needs: build_nss needs: build_nss
timeout-minutes: 10 timeout-minutes: 10
if: github.repository_owner == 'wolfssl'
steps: steps:
- name: Checking if we have nss in cache - name: Checking if we have nss in cache
uses: actions/cache/restore@v4 uses: actions/cache/restore@v4

View File

@@ -15,6 +15,7 @@ concurrency:
jobs: jobs:
build_wolfssl: build_wolfssl:
name: Build wolfSSL name: Build wolfSSL
if: github.repository_owner == 'wolfssl'
# Just to keep it the same as the testing target # Just to keep it the same as the testing target
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
# This should be a safe limit for the tests to run. # This should be a safe limit for the tests to run.
@@ -49,6 +50,7 @@ jobs:
- osp_ref: 2.6.7 - osp_ref: 2.6.7
git_ref: OPENLDAP_REL_ENG_2_6_7 git_ref: OPENLDAP_REL_ENG_2_6_7
name: ${{ matrix.osp_ref }} name: ${{ matrix.osp_ref }}
if: github.repository_owner == 'wolfssl'
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
# This should be a safe limit for the tests to run. # This should be a safe limit for the tests to run.
timeout-minutes: 20 timeout-minutes: 20

View File

@@ -47,6 +47,7 @@ jobs:
# List of releases to test # List of releases to test
ref: [ 2.9.1 ] ref: [ 2.9.1 ]
name: ${{ matrix.ref }} name: ${{ matrix.ref }}
if: github.repository_owner == 'wolfssl'
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
container: container:
image: quay.io/sssd/ci-client-devel:ubuntu-latest image: quay.io/sssd/ci-client-devel:ubuntu-latest