From: s3rj1k Date: Tue, 25 Jun 2024 20:15:53 +0000 (+0200) Subject: [GHA] Pin workflow to repository. X-Git-Tag: v1.10.12^2~19^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2508%2Fhead;p=thirdparty%2Ffreeswitch.git [GHA] Pin workflow to repository. --- 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