From 3039b72aec5a9e940ba7dbc19819a239bacabe4b Mon Sep 17 00:00:00 2001 From: s3rj1k Date: Mon, 15 Jun 2026 22:38:34 +0200 Subject: [PATCH] [GHA] Skip mirror and meta jobs on public forks --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a9addc175..f95f18156 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,6 +66,7 @@ jobs: name: 'DEB-MIRROR' if: >- ${{ + github.repository == 'freeswitch/sofia-sip' && (github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.publish)) && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository) }} @@ -133,8 +134,9 @@ jobs: name: 'Publish build data to meta-repo' if: >- ${{ - github.event_name == 'push' || - (github.event_name == 'workflow_dispatch' && inputs.publish) + github.repository == 'freeswitch/sofia-sip' && + (github.event_name == 'push' || + (github.event_name == 'workflow_dispatch' && inputs.publish)) }} needs: - deb