Commit 8c6e2b41ae for openssl.org

commit 8c6e2b41aef07def21e416e21a7bfbe9187ddd5f
Author: Dmitry Misharov <dmitry@openssl.org>
Date:   Tue Dec 1 13:09:25 2026 +0100

    .github: extend openssl/openssl-only CI gates to all openssl/* repos

    Gate on the repository owner instead of the repository name, so the
    composite actions use the checksum-verified mirror and the CI jobs run
    in every openssl/* repo. Jobs needing secrets or uploading to external
    services stay limited to openssl/openssl.

    Assisted-by: Claude:claude-opus-5-5
    Reviewed-by: Bob Beck <beck@openssl.org>
    Reviewed-by: Neil Horman <nhorman@openssl.org>
    Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
    Merge-date: Fri Dec  4 23:41:56 2026
    Merged-from: https://github.com/openssl/openssl/pull/34141

diff --git a/.github/actions/install-jom/action.yml b/.github/actions/install-jom/action.yml
index d1f2ca6153..14b976b9fd 100644
--- a/.github/actions/install-jom/action.yml
+++ b/.github/actions/install-jom/action.yml
@@ -11,9 +11,9 @@ description: Install jom on a Windows runner and add it to PATH
 runs:
   using: composite
   steps:
-  # openssl/openssl uses its own mirror; the checksum is in .github/ci-deps.json
+  # openssl/* repos use the project mirror; the checksum is in .github/ci-deps.json
   - name: install jom
-    if: github.repository == 'openssl/openssl'
+    if: github.repository_owner == 'openssl'
     shell: pwsh
     run: |
       mkdir C:\jom
@@ -23,7 +23,7 @@ runs:
       if ($actual -ne $expected) { throw "SHA256 mismatch for jom.exe (expected $expected, got $actual)" }
       "C:\jom" | Out-File -FilePath "$env:GITHUB_PATH" -Append
   - name: install jom (forks)
-    if: github.repository != 'openssl/openssl'
+    if: github.repository_owner != 'openssl'
     shell: pwsh
     run: |
       mkdir C:\jom
diff --git a/.github/actions/install-nasm/action.yml b/.github/actions/install-nasm/action.yml
index b480791811..b2b1b5c26d 100644
--- a/.github/actions/install-nasm/action.yml
+++ b/.github/actions/install-nasm/action.yml
@@ -16,9 +16,9 @@ inputs:
 runs:
   using: composite
   steps:
-  # openssl/openssl uses its own mirror; the checksum is in .github/ci-deps.json
+  # openssl/* repos use the project mirror; the checksum is in .github/ci-deps.json
   - name: install nasm
-    if: github.repository == 'openssl/openssl'
+    if: github.repository_owner == 'openssl'
     shell: pwsh
     run: |
       $installer = "nasm-3.01-installer-${{ inputs.arch == 'x86' && 'x86' || 'x64' }}.exe"
@@ -29,7 +29,7 @@ runs:
       Start-Process -FilePath ".\$installer" -ArgumentList '/S' -Wait
       "C:\Program Files${{ inputs.arch == 'x86' && ' (x86)' || '' }}\NASM" | Out-File -FilePath "$env:GITHUB_PATH" -Append
   - name: install nasm (forks)
-    if: github.repository != 'openssl/openssl'
+    if: github.repository_owner != 'openssl'
     shell: pwsh
     run: |
       $installer = "nasm-3.01-installer-${{ inputs.arch == 'x86' && 'x86' || 'x64' }}.exe"
diff --git a/.github/actions/install-ninja/action.yml b/.github/actions/install-ninja/action.yml
index 3f22d5cc55..84ef129f8f 100644
--- a/.github/actions/install-ninja/action.yml
+++ b/.github/actions/install-ninja/action.yml
@@ -11,9 +11,9 @@ description: Install Ninja on a Windows runner and add it to PATH
 runs:
   using: composite
   steps:
-  # openssl/openssl uses its own mirror; the checksum is in .github/ci-deps.json
+  # openssl/* repos use the project mirror; the checksum is in .github/ci-deps.json
   - name: install ninja
-    if: github.repository == 'openssl/openssl'
+    if: github.repository_owner == 'openssl'
     shell: pwsh
     run: |
       mkdir C:\ninja
@@ -23,7 +23,7 @@ runs:
       if ($actual -ne $expected) { throw "SHA256 mismatch for ninja.exe (expected $expected, got $actual)" }
       "C:\ninja" | Out-File -FilePath "$env:GITHUB_PATH" -Append
   - name: install ninja (forks)
-    if: github.repository != 'openssl/openssl'
+    if: github.repository_owner != 'openssl'
     shell: pwsh
     run: |
       mkdir C:\ninja
diff --git a/.github/workflows/aarch64-more-cross-compiles.yml b/.github/workflows/aarch64-more-cross-compiles.yml
index acac963542..3d5dcb929c 100644
--- a/.github/workflows/aarch64-more-cross-compiles.yml
+++ b/.github/workflows/aarch64-more-cross-compiles.yml
@@ -60,7 +60,7 @@ jobs:
     # manual dispatch
     needs: [validate-dispatch-inputs]
     if: &aarch64_requested >-
-      (contains(github.event.pull_request.title, 'aarch64') || contains(github.event.pull_request.title, 'AArch64') || contains(github.event.pull_request.title, 'arm64') || contains(github.event.pull_request.body, '[aarch64 ci]') || contains(github.event.head_commit.message, '[aarch64 ci]') || (github.event_name == 'schedule' && github.repository == 'openssl/openssl') || github.event_name == 'workflow_dispatch') &&
+      (contains(github.event.pull_request.title, 'aarch64') || contains(github.event.pull_request.title, 'AArch64') || contains(github.event.pull_request.title, 'arm64') || contains(github.event.pull_request.body, '[aarch64 ci]') || contains(github.event.head_commit.message, '[aarch64 ci]') || (github.event_name == 'schedule' && github.repository_owner == 'openssl') || github.event_name == 'workflow_dispatch') &&
       !cancelled() &&
       (needs.validate-dispatch-inputs.result == 'success' || needs.validate-dispatch-inputs.result == 'skipped')
     strategy:
diff --git a/.github/workflows/ci-nightly.yml b/.github/workflows/ci-nightly.yml
index fb3c95d7a0..868d3477e9 100644
--- a/.github/workflows/ci-nightly.yml
+++ b/.github/workflows/ci-nightly.yml
@@ -21,7 +21,7 @@ permissions:

 jobs:
   non-caching:
-    if: github.event_name == 'workflow_dispatch' || github.repository == 'openssl/openssl'
+    if: github.event_name == 'workflow_dispatch' || github.repository_owner == 'openssl'
     runs-on: ubuntu-latest
     env:
       OSSL_RUN_CI_TESTS: 1
@@ -53,7 +53,7 @@ jobs:
         path: artifacts.tar.gz

   full_featured:
-    if: github.event_name == 'workflow_dispatch' || github.repository == 'openssl/openssl'
+    if: github.event_name == 'workflow_dispatch' || github.repository_owner == 'openssl'
     runs-on: ubuntu-latest
     env:
       OSSL_RUN_CI_TESTS: 1
@@ -89,7 +89,7 @@ jobs:
         path: artifacts.tar.gz

   threads_sanitizer_atomic_fallback:
-    if: github.event_name == 'workflow_dispatch' || github.repository == 'openssl/openssl'
+    if: github.event_name == 'workflow_dispatch' || github.repository_owner == 'openssl'
     runs-on: ubuntu-latest
     steps:
     - uses: actions/checkout@v7
@@ -113,7 +113,7 @@ jobs:
       run: make test V=1 TESTS="test_lhash test_threads test_internal_provider test_provfetch test_provider test_pbe test_evp_kdf test_pkcs12 test_store test_evp test_quic* test_dtls_listener_races"

   cygwin:
-    if: github.event_name == 'workflow_dispatch' || github.repository == 'openssl/openssl'
+    if: github.event_name == 'workflow_dispatch' || github.repository_owner == 'openssl'
     # Run a job for each of the specified target architectures:
     strategy:
       matrix:
@@ -151,7 +151,7 @@ jobs:
 #      run: bash -c "cd openssl && make V=1 test"

   msys2-mingw64:
-    if: github.event_name == 'workflow_dispatch' || github.repository == 'openssl/openssl'
+    if: github.event_name == 'workflow_dispatch' || github.repository_owner == 'openssl'
     strategy:
       matrix:
         platform:
@@ -197,7 +197,7 @@ jobs:
 #        run: C:\msys64\usr\bin\bash.exe -lc 'make test'

   mingw64:
-    if: github.event_name == 'workflow_dispatch' || github.repository == 'openssl/openssl'
+    if: github.event_name == 'workflow_dispatch' || github.repository_owner == 'openssl'
     strategy:
       matrix:
         platform:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index de03fdea27..3afccdf68f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -177,9 +177,9 @@ jobs:
   linux-aarch64-graviton4:
     runs-on: graviton4
     timeout-minutes: 60
-    # Self-hosted runner; its label only exists in openssl/openssl, so keep
+    # Self-hosted runner; its label only exists in openssl/* repos, so keep
     # this job out of forks (a run there would wait forever).
-    if: github.repository == 'openssl/openssl'
+    if: github.repository_owner == 'openssl'
     steps:
     - uses: actions/checkout@v6
       with:
diff --git a/.github/workflows/compiler-zoo.yml b/.github/workflows/compiler-zoo.yml
index f965161cd5..dd391682de 100644
--- a/.github/workflows/compiler-zoo.yml
+++ b/.github/workflows/compiler-zoo.yml
@@ -52,7 +52,7 @@ jobs:
   gcc:
     needs: [validate-dispatch-inputs]
     if: &no_fork_schedule |
-      (github.event_name != 'schedule' || github.repository == 'openssl/openssl') &&
+      (github.event_name != 'schedule' || github.repository_owner == 'openssl') &&
       !cancelled() &&
       (needs.validate-dispatch-inputs.result == 'success' || needs.validate-dispatch-inputs.result == 'skipped')
     strategy:
diff --git a/.github/workflows/ct-validation-daily.yml b/.github/workflows/ct-validation-daily.yml
index 8402194d06..39c7484dee 100644
--- a/.github/workflows/ct-validation-daily.yml
+++ b/.github/workflows/ct-validation-daily.yml
@@ -69,7 +69,7 @@ permissions:
 jobs:
   validate-dispatch-inputs:
     if: |
-      (github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch') &&
+      (github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch') &&
       (inputs.pr != '' || inputs.head_sha != '' || inputs.check_run_id != '')
     uses: ./.github/workflows/validate-dispatch-inputs.yml
     with:
@@ -80,7 +80,7 @@ jobs:
   ct-validation:
     needs: [validate-dispatch-inputs]
     if: |
-      (github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch') &&
+      (github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch') &&
       !cancelled() &&
       (needs.validate-dispatch-inputs.result == 'success' || needs.validate-dispatch-inputs.result == 'skipped')
     strategy:
diff --git a/.github/workflows/interop-tests.yml b/.github/workflows/interop-tests.yml
index c408b3b6f2..b67c4f809e 100644
--- a/.github/workflows/interop-tests.yml
+++ b/.github/workflows/interop-tests.yml
@@ -37,7 +37,7 @@ jobs:
   # Only a dispatch carries inputs, so this is skipped on the nightly cron.
   validate-dispatch-inputs:
     if: |
-      (github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch') &&
+      (github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch') &&
       (inputs.pr != '' || inputs.head_sha != '' || inputs.check_run_id != '')
     uses: ./.github/workflows/validate-dispatch-inputs.yml
     with:
@@ -48,7 +48,7 @@ jobs:
   test:
     needs: [validate-dispatch-inputs]
     if: |
-      (github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch') &&
+      (github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch') &&
       !cancelled() &&
       (needs.validate-dispatch-inputs.result == 'success' || needs.validate-dispatch-inputs.result == 'skipped')
     permissions:
@@ -104,7 +104,7 @@ jobs:
   openssh_interop:
     needs: [validate-dispatch-inputs]
     if: |
-      (github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch') &&
+      (github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch') &&
       inputs.pr == '' &&
       !cancelled() &&
       (needs.validate-dispatch-inputs.result == 'success' || needs.validate-dispatch-inputs.result == 'skipped')
diff --git a/.github/workflows/ninja.yml b/.github/workflows/ninja.yml
index 694a2f9251..01a463d2fb 100644
--- a/.github/workflows/ninja.yml
+++ b/.github/workflows/ninja.yml
@@ -20,7 +20,7 @@ env:

 jobs:
   linux:
-    if: github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch'
+    if: github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch'
     runs-on: ubuntu-latest
     steps:
     - name: install dependencies
@@ -63,7 +63,7 @@ jobs:
         fi

   linux-fedora:
-    if: github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch'
+    if: github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch'
     runs-on: ubuntu-latest
     container: docker.io/library/fedora:44
     steps:
@@ -95,7 +95,7 @@ jobs:
         printf '%s\n' "$output" | grep -F "ninja: no work to do."

   windows:
-    if: github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch'
+    if: github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch'
     runs-on: windows-2022
     steps:
     - uses: actions/checkout@v6
@@ -134,7 +134,7 @@ jobs:
         ninja test

   macos:
-    if: github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch'
+    if: github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch'
     runs-on: macos-15
     steps:
     - uses: actions/checkout@v6
diff --git a/.github/workflows/os-zoo-rolling.yml b/.github/workflows/os-zoo-rolling.yml
index 4528938b62..c0f507b4e4 100644
--- a/.github/workflows/os-zoo-rolling.yml
+++ b/.github/workflows/os-zoo-rolling.yml
@@ -40,7 +40,7 @@ jobs:
   # Only a dispatch carries inputs, so this is skipped on the nightly cron.
   validate-dispatch-inputs:
     if: |
-      (github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch') &&
+      (github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch') &&
       (inputs.pr != '' || inputs.head_sha != '' || inputs.check_run_id != '')
     uses: ./.github/workflows/validate-dispatch-inputs.yml
     with:
@@ -49,7 +49,7 @@ jobs:
       check_run_id: ${{ inputs.check_run_id }}

   alpine:
-    if: github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch'
+    if: github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch'
     strategy:
       fail-fast: false
       matrix:
@@ -89,7 +89,7 @@ jobs:
       run: make test HARNESS_JOBS=${HARNESS_JOBS:-4} LHASH_WORKERS=${LHASH_WORKERS:-16}

   linux:
-    if: github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch'
+    if: github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch'
     strategy:
       fail-fast: false
       matrix:
diff --git a/.github/workflows/os-zoo.yml b/.github/workflows/os-zoo.yml
index 7b326016d0..179246e4bd 100644
--- a/.github/workflows/os-zoo.yml
+++ b/.github/workflows/os-zoo.yml
@@ -41,7 +41,7 @@ jobs:
   # Only a dispatch carries inputs, so this is skipped on the nightly cron.
   validate-dispatch-inputs:
     if: |
-      (github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch') &&
+      (github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch') &&
       (inputs.pr != '' || inputs.head_sha != '' || inputs.check_run_id != '')
     uses: ./.github/workflows/validate-dispatch-inputs.yml
     with:
@@ -52,7 +52,7 @@ jobs:
   alpine:
     needs: [validate-dispatch-inputs]
     if: &upstream_or_dispatch |
-      (github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch') &&
+      (github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch') &&
       !cancelled() &&
       (needs.validate-dispatch-inputs.result == 'success' || needs.validate-dispatch-inputs.result == 'skipped')
     strategy:
@@ -304,7 +304,7 @@ jobs:
   linux-aarch64-graviton4:
     needs: [validate-dispatch-inputs]
     if: |
-      github.repository == 'openssl/openssl' &&
+      github.repository_owner == 'openssl' &&
       !cancelled() &&
       (needs.validate-dispatch-inputs.result == 'success' || needs.validate-dispatch-inputs.result == 'skipped')
     runs-on: graviton4-zoo
@@ -412,10 +412,10 @@ jobs:
   linux-ppc64le:
     runs-on: linux-ppc64le
     needs: [validate-dispatch-inputs]
-    # Self-hosted runner; its label only exists in openssl/openssl, so keep
+    # Self-hosted runner; its label only exists in openssl/* repos, so keep
     # this job out of forks (a manual dispatch there would hang forever).
     if: &nightly_only |
-      github.repository == 'openssl/openssl' &&
+      github.repository_owner == 'openssl' &&
       ( github.event_name == 'schedule' ||
         (github.event_name == 'workflow_dispatch' && inputs.pr == '') ) &&
       !cancelled() &&
@@ -438,7 +438,7 @@ jobs:
   linux-s390x:
     runs-on: linux-s390x
     needs: [validate-dispatch-inputs]
-    # Self-hosted runner; its label only exists in openssl/openssl, so keep
+    # Self-hosted runner; its label only exists in openssl/* repos, so keep
     # this job out of forks (a manual dispatch there would hang forever).
     if: *nightly_only
     steps:
@@ -459,7 +459,7 @@ jobs:
   linux-riscv64:
     runs-on: linux-riscv64
     needs: [validate-dispatch-inputs]
-    # Self-hosted runner; its label only exists in openssl/openssl, so keep
+    # Self-hosted runner; its label only exists in openssl/* repos, so keep
     # this job out of forks (a manual dispatch there would hang forever).
     if: *nightly_only
     steps:
@@ -481,11 +481,11 @@ jobs:
     runs-on: solaris-sparc
     needs: [validate-dispatch-inputs]
     # Self-hosted runner: a Linux VM that runs each step in a Solaris zone on
-    # sparc-solaris over ssh. Its label only exists in openssl/openssl, so keep
+    # sparc-solaris over ssh. Its label only exists in openssl/* repos, so keep
     # this job out of forks (a manual dispatch there would hang forever).
     # Step env: does not reach the zone; pass variables on the command line.
     if: |
-      github.repository == 'openssl/openssl' &&
+      github.repository_owner == 'openssl' &&
       ( github.event_name == 'schedule' ||
         (github.event_name == 'workflow_dispatch' && inputs.pr == '') ) &&
       !cancelled() &&
diff --git a/.github/workflows/oss-fuzz.yml b/.github/workflows/oss-fuzz.yml
index 6a2876bd9d..4e239a13d8 100644
--- a/.github/workflows/oss-fuzz.yml
+++ b/.github/workflows/oss-fuzz.yml
@@ -49,7 +49,7 @@ jobs:
   Fuzzing:
     needs: [validate-dispatch-inputs]
     if: >-
-      (github.event_name != 'schedule' || github.repository == 'openssl/openssl') &&
+      (github.event_name != 'schedule' || github.repository_owner == 'openssl') &&
       !cancelled() &&
       (needs.validate-dispatch-inputs.result == 'success' || needs.validate-dispatch-inputs.result == 'skipped')
     runs-on: ubuntu-latest
diff --git a/.github/workflows/provider-compatibility.yml b/.github/workflows/provider-compatibility.yml
index 617065da56..c69e3e715c 100644
--- a/.github/workflows/provider-compatibility.yml
+++ b/.github/workflows/provider-compatibility.yml
@@ -28,7 +28,7 @@ env:

 jobs:
   fips-releases:
-    if: github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch'
+    if: github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch'
     strategy:
       matrix:
         release: [
@@ -94,7 +94,7 @@ jobs:
           retention-days: 7

   development-branches:
-    if: github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch'
+    if: github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch'
     strategy:
       matrix:
         branch: [
@@ -181,7 +181,7 @@ jobs:
           retention-days: 7

   cross-testing:
-    if: github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch'
+    if: github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch'
     needs: [fips-releases, development-branches]
     runs-on: ubuntu-latest
     strategy:
diff --git a/.github/workflows/riscv-more-cross-compiles.yml b/.github/workflows/riscv-more-cross-compiles.yml
index d7cd266f3c..f63367d99e 100644
--- a/.github/workflows/riscv-more-cross-compiles.yml
+++ b/.github/workflows/riscv-more-cross-compiles.yml
@@ -68,7 +68,7 @@ jobs:
     # manual dispatch
     needs: [validate-dispatch-inputs]
     if: >-
-      (contains(github.event.pull_request.title, 'riscv') || contains(github.event.pull_request.title, 'RISC-V') || contains(github.event.pull_request.body, '[riscv ci]') || contains(github.event.head_commit.message, '[riscv ci]') || (github.event_name == 'schedule' && github.repository == 'openssl/openssl') || github.event_name == 'workflow_dispatch') &&
+      (contains(github.event.pull_request.title, 'riscv') || contains(github.event.pull_request.title, 'RISC-V') || contains(github.event.pull_request.body, '[riscv ci]') || contains(github.event.head_commit.message, '[riscv ci]') || (github.event_name == 'schedule' && github.repository_owner == 'openssl') || github.event_name == 'workflow_dispatch') &&
       !cancelled() &&
       (needs.validate-dispatch-inputs.result == 'success' || needs.validate-dispatch-inputs.result == 'skipped')
     strategy:
diff --git a/.github/workflows/run-checker-daily.yml b/.github/workflows/run-checker-daily.yml
index 0a2345bf80..8d87050302 100644
--- a/.github/workflows/run-checker-daily.yml
+++ b/.github/workflows/run-checker-daily.yml
@@ -41,7 +41,7 @@ permissions:
 jobs:
   validate-dispatch-inputs:
     if: |
-      (github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch') &&
+      (github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch') &&
       (inputs.pr != '' || inputs.head_sha != '' || inputs.check_run_id != '')
     uses: ./.github/workflows/validate-dispatch-inputs.yml
     with:
@@ -52,7 +52,7 @@ jobs:
   run-checker:
     needs: [validate-dispatch-inputs]
     if: &upstream_or_dispatch |
-      (github.repository == 'openssl/openssl' || github.event_name == 'workflow_dispatch') &&
+      (github.repository_owner == 'openssl' || github.event_name == 'workflow_dispatch') &&
       !cancelled() &&
       (needs.validate-dispatch-inputs.result == 'success' || needs.validate-dispatch-inputs.result == 'skipped')
     strategy:
diff --git a/.github/workflows/valgrind-daily.yml b/.github/workflows/valgrind-daily.yml
index 3a7d81fdf9..7e489fddd0 100644
--- a/.github/workflows/valgrind-daily.yml
+++ b/.github/workflows/valgrind-daily.yml
@@ -41,7 +41,7 @@ permissions:
 jobs:
     validate-dispatch-inputs:
       if: |
-        github.repository == 'openssl/openssl' &&
+        github.repository_owner == 'openssl' &&
         (inputs.pr != '' || inputs.head_sha != '' || inputs.check_run_id != '')
       uses: ./.github/workflows/validate-dispatch-inputs.yml
       with: