Skip to content

Commit 10b516a

Browse files
authored
Merge pull request #5443 from GSA/show-runner-ip
show runner ip for 403 debugging
2 parents 8d6d4a1 + 1723414 commit 10b516a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/restart-attempt.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ jobs:
6363
echo "Sleeping $SLEEP seconds before attempt"
6464
sleep "$SLEEP"
6565
66+
- name: show external IP address for 403 debugging
67+
if: ${{ !inputs.is_retry || steps.gate.outputs.skip == 'false' }}
68+
run: |
69+
echo "External IPs:"
70+
echo "checkip.amazonaws.com -> $(curl --silent https://checkip.amazonaws.com || echo 'unavailable')"
71+
echo "ifconfig.me -> $(curl --silent https://ifconfig.me || echo 'unavailable')"
72+
6673
- name: restart ${{ inputs.app }}
6774
if: ${{ !inputs.is_retry || steps.gate.outputs.skip == 'false' }}
6875
uses: cloud-gov/cg-cli-tools@main

0 commit comments

Comments
 (0)