Skip to content

Commit beb2881

Browse files
committed
CI fix: network access audit for Android + enforce PAT workflow mutation push
1 parent 67b65ea commit beb2881

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Android/Gradle/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Audit Step for Required Dependency/Provider Domains
2+
- name: Audit Dependency Domains
3+
run: |
4+
required_domains=("dl.google.com" "maven.google.com" "repo1.maven.org" "services.gradle.org" "storage.googleapis.com" "github.com" "objects.githubusercontent.com" "actions.githubusercontent.com")
5+
for domain in "${required_domains[@]}"; do
6+
if ! ping -c 1 -W 1 $domain > /dev/null; then
7+
echo "Domain $domain is not reachable";
8+
exit 1;
9+
fi;
10+
done

0 commit comments

Comments
 (0)