Skip to content

Commit

Permalink
Additionally run tests on main after merging PR [no version bump]
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykironde authored Jul 20, 2024
1 parent 0180abd commit 0dbf87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Tests will fail on PRs from forks
if: github.event.pull_request.head.repo.full_name != github.repository
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
run: |
echo Tests require pull requests be submitted from branches in the main repository
exit 1
Expand Down

0 comments on commit 0dbf87f

Please sign in to comment.