We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60cb194 commit 4e8ad63Copy full SHA for 4e8ad63
1 file changed
.github/actions/update-firewall-rule/action.yml
@@ -11,7 +11,9 @@ runs:
11
- name: ${{ inputs.action-to-execute }} Firewall Rule
12
shell: bash
13
run: |
14
- AgentPublicIp=$(curl ipconfig.io)
+ AgentPublicIp=$(curl checkip.amazonaws.com)
15
echo "##[warning]Adding $AgentPublicIp To Storage Account Firewall, Please Wait..."
16
az network nsg rule update -n HTTPS_CI --nsg-name vmsonarqubeprod001-nsg -g rg-prgssonarqube-prod-001 --add sourceAddressPrefixes $AgentPublicIp
17
sleep 30
18
+ # was AgentPublicIp=$(curl ipconfig.io) which returned a 522/timeout error, so switched to checkip.amazonaws.com
19
+
0 commit comments