Skip to content

Commit 90fbc82

Browse files
committed
No duplicate runs for internal PRs
1 parent e0dc1fc commit 90fbc82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/CI.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ concurrency:
1616

1717
jobs:
1818
test:
19+
# Only run the pull-request build if the pull-request was opened from another repository,
20+
# since we already run this workflow for the branch the pull request was made from.
21+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
1922
runs-on: ubuntu-latest
2023
steps:
2124
- name: Checkout this repository

0 commit comments

Comments
 (0)