We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9186936 commit f3bdad1Copy full SHA for f3bdad1
pkgs/appengine/test/integration/common_e2e.dart
@@ -24,6 +24,17 @@ const String DEFAULT_KEY_LOCATION =
24
'gs://dart-archive-internal/keys/dart-gcloud-e2e.json';
25
26
bool onBot() {
27
+ // Check for GitHub Actions.
28
+ if (Platform.environment['CI'] == 'true') {
29
+ return true;
30
+ }
31
+
32
+ // Redundent GitHub Actions check.
33
+ if (Platform.environment.containsKey('GITHUB_ACTION')) {
34
35
36
37
+ // Chromium LUCI check.
38
final name = Platform.isWindows ? 'USERNAME' : 'USER';
39
return Platform.environment[name] == 'chrome-bot';
40
}
0 commit comments