Fix double actions on PRs

This commit is contained in:
Jason Penilla 2021-12-21 00:47:34 -08:00
parent ff68ede186
commit f038894430
No known key found for this signature in database
GPG key ID: 0E75A301420E48F8

View file

@ -7,6 +7,8 @@ on:
jobs:
test:
# 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 }}
name: Test
runs-on: 'ubuntu-latest'
steps: