From d78d427870bd38270dd62d53b7d5b579d16e0e84 Mon Sep 17 00:00:00 2001 From: Simon Powell Date: Mon, 24 Jun 2024 12:09:02 +0100 Subject: [PATCH] Only run static analysis and code signing in Arm-software (#478) --- .github/workflows/post_weekly_release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/post_weekly_release.yaml b/.github/workflows/post_weekly_release.yaml index 77de2aca..bb6199c8 100644 --- a/.github/workflows/post_weekly_release.yaml +++ b/.github/workflows/post_weekly_release.yaml @@ -14,7 +14,7 @@ on: jobs: coverity: - if: ${{ !startsWith(github.event.ref, 'refs/tags/') }} + if: ${{ (!startsWith(github.event.ref, 'refs/tags/')) && (github.repository_owner == 'Arm-software') }} name: Run Coverity Static Analysis runs-on: [self-hosted-ubuntu-latest-x64] steps: @@ -209,6 +209,7 @@ jobs: shell: cmd sign-binaries: + if: github.repository_owner == 'Arm-software' name: Sign Windows and Mac runs-on: [self-hosted-ubuntu-latest-x64] needs: [build-macos, build-windows-msvc-ClangCL] @@ -276,7 +277,7 @@ jobs: astcenc-macos-universal prepare-release: - if: ${{ startsWith(github.event.ref, 'refs/tags/') }} + if: ${{ (startsWith(github.event.ref, 'refs/tags/')) && (github.repository_owner == 'Arm-software') }} name: Prepare release runs-on: ubuntu-22.04 needs: [sign-binaries, build-ubuntu]