Skip to content

Commit 5152f7c

Browse files
authored
Update unit.yml
1 parent 3be6843 commit 5152f7c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/unit.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
name: Unit Tests
22

3-
on:
4-
push:
5-
branches:
6-
- '**'
7-
pull_request:
8-
branches:
9-
- main
3+
on: [push, pull_request]
104

115
jobs:
126
unit-tests:
13-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
7+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == true
148
runs-on: ubuntu-latest
159
steps:
1610
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)