Skip to content

Commit

Permalink
actions: run pull_request workflow only on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
missinglink committed Jun 21, 2022
1 parent 52d4069 commit c7b708b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ name: Continuous Integration
on: pull_request
jobs:
unit-tests:
if: github.repository_owner != 'pelias'
# only run this job for forks
if: github.event.pull_request.head.repo.full_name != github.repository
uses: ./.github/workflows/_test.yml

0 comments on commit c7b708b

Please sign in to comment.