From 318953d078c1b109120cac24af231eaf8e7b63f1 Mon Sep 17 00:00:00 2001 From: s3rj1k Date: Tue, 25 Jun 2024 22:15:53 +0200 Subject: [PATCH] [GHA] Pin workflow to repository. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5b7cfb3665..59958dfc0a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ concurrency: jobs: excludes: name: 'Excludes' - if: github.repository == 'signalwire/freeswitch' + if: github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest outputs: deb: ${{ steps.deb.outputs.excludes }} @@ -49,7 +49,7 @@ jobs: deb: name: 'DEB' - if: github.repository == 'signalwire/freeswitch' + if: github.event.pull_request.head.repo.full_name == github.repository permissions: id-token: write contents: read