From e776ee282328403da300797e47f7e15d10d4d197 Mon Sep 17 00:00:00 2001 From: chyyran Date: Thu, 8 Feb 2024 18:15:24 -0500 Subject: [PATCH] ci: only do OBS tasks on origin --- .github/workflows/package-obs.yml | 1 + .github/workflows/publish-obs.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/package-obs.yml b/.github/workflows/package-obs.yml index 07b48cb..8a23f58 100644 --- a/.github/workflows/package-obs.yml +++ b/.github/workflows/package-obs.yml @@ -8,6 +8,7 @@ env: jobs: build-obs-binary: + if: github.repository == 'SnowflakePowered/librashader' strategy: matrix: include: diff --git a/.github/workflows/publish-obs.yml b/.github/workflows/publish-obs.yml index 6cd61a4..a6c3a9d 100644 --- a/.github/workflows/publish-obs.yml +++ b/.github/workflows/publish-obs.yml @@ -8,6 +8,7 @@ env: jobs: build-obs-binary: + if: github.repository == 'SnowflakePowered/librashader' strategy: matrix: include: @@ -49,6 +50,7 @@ jobs: osc build --no-verify --trust-all-projects ${{ matrix.repo }} x86_64 ${{ matrix.spec }} publish-obs: needs: build-obs-binary + if: github.repository == 'SnowflakePowered/librashader' runs-on: ubuntu-latest container: fedora:39 steps: