CI: limit CI runs to citra-emu/citra

This commit is contained in:
liushuyu 2022-01-04 19:00:19 -07:00
parent cbe1a4f50d
commit d49c946134
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437
1 changed files with 2 additions and 2 deletions

View File

@ -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