From d49c946134f49f5e2f2fd3114a250ab60dd7c23a Mon Sep 17 00:00:00 2001 From: liushuyu Date: Tue, 4 Jan 2022 19:00:19 -0700 Subject: [PATCH] CI: limit CI runs to citra-emu/citra --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6ac14f8e67..3bde327c23 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,7 @@ on: jobs: nightly: runs-on: ubuntu-latest - if: ${{ github.event.inputs.nightly != 'false' }} + if: ${{ github.event.inputs.nightly != 'false' && github.repository == 'citra-emu/citra' }} steps: # this checkout is required to make sure the GitHub Actions scripts are available - uses: actions/checkout@v2 @@ -59,7 +59,7 @@ jobs: tagAndPush(github, context.repo.owner, `${context.repo.repo}-nightly`, execa); canary: runs-on: ubuntu-latest - if: ${{ github.event.inputs.canary != 'false' }} + if: ${{ github.event.inputs.canary != 'false' && github.repository == 'citra-emu/citra' }} steps: # this checkout is required to make sure the GitHub Actions scripts are available - uses: actions/checkout@v2