Prevent CI jobs with secrets from running in forks

These Github actions will run only in the upstream repository

CLA: trivial

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/27275)
This commit is contained in:
Vladimír Chlup 2025-04-04 10:50:22 +02:00 committed by Matt Caswell
parent 28de1f5004
commit ee52d7d327
4 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,7 @@ on:
jobs:
update_quay_container:
if: github.repository == 'openssl/openssl'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

View File

@ -10,6 +10,7 @@ on:
jobs:
trigger:
if: github.repository == 'openssl/openssl'
runs-on: ubuntu-latest
steps:
- name: "Trigger deployment workflow"

View File

@ -17,6 +17,7 @@ permissions:
jobs:
coverity-analysis:
if: github.repository == 'openssl/openssl'
runs-on: ubuntu-latest
container: quay.io/openssl-ci/coverity-analysis:2024.3.1
steps:

View File

@ -18,6 +18,7 @@ permissions:
jobs:
coverity:
if: github.repository == 'openssl/openssl'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4