Skip to content

Commit ad32fca

Browse files
committed
ci: See if this only runs one time in PRs
If we keep this, credit goes to @DanTup See also: - https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012/6 - Dart-Code/Dart-Code@612732d
1 parent 3edc404 commit ad32fca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/tests.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7+
# Don't run twice for internal PRs from our own repo
8+
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
79

810
runs-on: ubuntu-latest
911
strategy:

0 commit comments

Comments
 (0)