File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,10 @@ concurrency:
20
20
21
21
jobs :
22
22
integration :
23
- if : github.event_name == 'pull_request' && github.event.pull_request.draft == false
23
+ # Only run this job for PRs from branches on the main repository and not from forks.
24
+ # Workflows triggered by PRs from forks don't have access to the tool environment.
25
+ # PRs from forks to be tested by the reviewer(s) / maintainer(s) before merging.
26
+ if : github.event_name == 'pull_request' && !github.event.pull_request.draft && !github.event.pull_request.head.repo.fork
24
27
environment : tool
25
28
runs-on : larger
26
29
steps :
59
62
use_oidc : true
60
63
61
64
serverless_integration :
62
- if : github.event_name == 'pull_request' && github.event.pull_request.draft == false
65
+ # Only run this job for PRs from branches on the main repository and not from forks.
66
+ # Workflows triggered by PRs from forks don't have access to the tool environment.
67
+ # PRs from forks to be tested by the reviewer(s) / maintainer(s) before merging.
68
+ if : github.event_name == 'pull_request' && !github.event.pull_request.draft && !github.event.pull_request.head.repo.fork
63
69
environment : tool
64
70
runs-on : larger
65
71
env :
You can’t perform that action at this time.
0 commit comments