Ensuring GitHub Actions isn't run twice on PR

This commit is contained in:
Wietze 2023-10-03 17:21:42 +01:00
parent 96aad19b88
commit 93aeeacb47
No known key found for this signature in database
GPG Key ID: E17630129FF993CF

View File

@ -4,6 +4,7 @@ on: [push,pull_request]
jobs:
lintFiles:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3