diff options
author | Jason Penilla <[email protected]> | 2021-12-04 21:19:04 -0800 |
---|---|---|
committer | Jason Penilla <[email protected]> | 2021-12-04 21:19:04 -0800 |
commit | a8e5141f2ac19be2b104ed23fe1f1bb3a5869ba8 (patch) | |
tree | 3d87962deebfdad9d4f88a03bce8f1d82983935e /.github | |
parent | 54b0c41c20431f53b22c015aa7dcc9b5cc4a69d5 (diff) | |
download | Paper-a8e5141f2ac19be2b104ed23fe1f1bb3a5869ba8.tar.gz Paper-a8e5141f2ac19be2b104ed23fe1f1bb3a5869ba8.zip |
[ci skip] Fix double actions on PRs from main Paper repo
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51bf4958a7..639dcbe4a5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,6 +10,8 @@ on: [push, pull_request] jobs: build: + # Only run on PRs if the source branch is on someone else's repo + if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }} runs-on: ubuntu-latest strategy: matrix: |