From 6900d9af263515e9b352d8c1a7cc173ae58661ce Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Thu, 26 Sep 2024 14:54:53 +0100 Subject: [PATCH] chore: disable nrk specific workflows --- .github/workflows/prune-container-images.yml | 2 ++ .github/workflows/prune-tags.yml | 2 ++ .github/workflows/trivy.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/prune-container-images.yml b/.github/workflows/prune-container-images.yml index b7c5625124..11f35daef9 100644 --- a/.github/workflows/prune-container-images.yml +++ b/.github/workflows/prune-container-images.yml @@ -7,6 +7,8 @@ on: jobs: prune-container-images: + if: ${{ github.repository_owner == 'nrkno' }} + uses: nrkno/sofie-github-workflows/.github/workflows/prune-container-images.yml@main strategy: max-parallel: 1 diff --git a/.github/workflows/prune-tags.yml b/.github/workflows/prune-tags.yml index e9d9a5bbbc..2bd28d2b81 100644 --- a/.github/workflows/prune-tags.yml +++ b/.github/workflows/prune-tags.yml @@ -16,6 +16,8 @@ on: jobs: prune-tags: + if: ${{ github.repository_owner == 'nrkno' }} + name: Prune tags runs-on: ubuntu-latest timeout-minutes: 15 diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index caa51ef3a4..b9c3a7af00 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -6,6 +6,8 @@ on: jobs: trivy: + if: ${{ github.repository_owner == 'nrkno' }} + name: Trivy scan runs-on: ubuntu-latest strategy: