[ci skip] Fix double actions on PRs from main Paper repo

This commit is contained in:
Jason Penilla 2021-12-04 21:19:04 -08:00
parent 54b0c41c20
commit a8e5141f2a
No known key found for this signature in database
GPG Key ID: 0E75A301420E48F8

View File

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