From b8fb017b41c4e28550f344a2ee64f7aca004a4d7 Mon Sep 17 00:00:00 2001 From: s3rj1k Date: Tue, 22 Jul 2025 21:14:52 +0200 Subject: [PATCH] [GHA] Simplify `if` logic for Meta job --- .github/workflows/build.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e65c25b84..8aac1ff8cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -192,14 +192,9 @@ jobs: name: "Publish build data to meta-repo" if: >- ${{ - (github.event.pull_request.head.repo.full_name == github.repository) && - ( - ( - github.event_name != 'pull_request' && - github.event_name != 'workflow_dispatch' - ) || - (github.event_name == 'workflow_dispatch' && inputs.publish) - ) + github.event_name == 'push' && + github.repository == 'signalwire/freeswitch' && + contains(fromJSON('["master", "v1.10"]'), github.ref_name) }} needs: - deb-public -- 2.47.2