From 4a15dc1a6252a53ba18c76d595509c083de7d197 Mon Sep 17 00:00:00 2001 From: s3rj1k Date: Tue, 25 Jun 2024 21:38:29 +0200 Subject: [PATCH] [GHA] Pin workflow to repository. --- .github/workflows/build-from-fork.yml | 1 - .github/workflows/build.yml | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-from-fork.yml b/.github/workflows/build-from-fork.yml index 0fe53c239a3..b98cadb1344 100644 --- a/.github/workflows/build-from-fork.yml +++ b/.github/workflows/build-from-fork.yml @@ -7,7 +7,6 @@ on: paths: - '**' - '!.github/' - workflow_dispatch: concurrency: group: ${{ github.head_ref || github.ref }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df3baa49924..5b7cfb36657 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,8 @@ concurrency: jobs: excludes: + name: 'Excludes' + if: github.repository == 'signalwire/freeswitch' runs-on: ubuntu-latest outputs: deb: ${{ steps.deb.outputs.excludes }} @@ -47,6 +49,7 @@ jobs: deb: name: 'DEB' + if: github.repository == 'signalwire/freeswitch' permissions: id-token: write contents: read