File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -20,25 +20,6 @@ concurrency:
20
20
21
21
jobs :
22
22
integration-tests :
23
- #
24
- # This condition prevents DUPLICATE attempts to run integration tests for
25
- # PRs coming from FORKS.
26
- #
27
- # When a PR originates from a fork, both a pull_request and a
28
- # pull_request_target event are triggered. This means that without a
29
- # condition, GitHub will attempt to run integration tests TWICE, once for
30
- # each event.
31
- #
32
- # To prevent this, this condition ensures that integration tests are run
33
- # in only ONE of the following cases:
34
- #
35
- # 1. The event is NOT a pull_request. This covers the case when the event
36
- # is a pull_request_target (i.e., a PR from a fork), as well as all
37
- # other cases listed in the "on" block at the top of this file.
38
- # 2. The event IS a pull_request AND the base repo and head repo are the
39
- # same (i.e., the PR is NOT from a fork).
40
- #
41
- if : github.event_name != 'pull_request' || github.event.pull_request.base.repo.full_name == github.event.pull_request.head.repo.full_name
42
23
runs-on : ubuntu-latest
43
24
strategy :
44
25
matrix :
You can’t perform that action at this time.
0 commit comments