diff --git a/.forgejo/workflows/botui.yaml b/.forgejo/workflows/botui.yaml index 02fe35b..567a512 100644 --- a/.forgejo/workflows/botui.yaml +++ b/.forgejo/workflows/botui.yaml @@ -19,7 +19,16 @@ jobs: steps: - name: Disable SSL verification - run: git config --global http.sslVerify false + run: | + git config --global http.sslVerify false + git config --global --add safe.directory "*" + # Remove ALL git url replacements that redirect to internal IPs + git config --global --list | grep -E "^url\..*\.insteadof" | while read line; do + key=$(echo "$line" | cut -d= -f1) + git config --global --unset-all "$key" 2>/dev/null || true + done + # Ensure hosts entry for alm in CI container (required for DNS) + echo "10.157.134.241 alm.pragmatismo.com.br" >> /etc/hosts - name: Setup Workspace run: |