Fix the proxy config

This commit is contained in:
Bassem Dghaidi 2026-01-29 08:55:40 -08:00 committed by GitHub
parent d19411273c
commit d59cb79a26

View File

@ -128,8 +128,8 @@ jobs:
echo "Fetching GitHub meta API..." echo "Fetching GitHub meta API..."
curl -sS https://api.github.com/meta > /tmp/github-meta.json curl -sS https://api.github.com/meta > /tmp/github-meta.json
# Get squid-proxy IP address # Proxy is on localhost
PROXY_IP=$(getent hosts squid-proxy | awk '{ print $1 }') PROXY_IP="127.0.0.1"
echo "Proxy IP: $PROXY_IP" echo "Proxy IP: $PROXY_IP"
# Allow established connections # Allow established connections
@ -194,6 +194,9 @@ jobs:
echo "" echo ""
echo "ipset github-ips contains $(ipset list github-ips | grep -c '^[0-9]') entries" echo "ipset github-ips contains $(ipset list github-ips | grep -c '^[0-9]') entries"
- name: Verify proxy enforcement - name: Verify proxy enforcement
env:
http_proxy: http://127.0.0.1:3128
https_proxy: http://127.0.0.1:3128
run: | run: |
echo "=== Testing proxy enforcement ===" echo "=== Testing proxy enforcement ==="