We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/rate_limit
1 parent 95f1809 commit dd8cb55Copy full SHA for dd8cb55
1 file changed
.github/workflows/ci.yml
@@ -1319,9 +1319,9 @@ jobs:
1319
NODE_EXTRA_CA_CERTS: /tmp/gh-aw/proxy-logs/proxy-tls/ca.crt
1320
run: |
1321
echo "Testing gh CLI through DIFC proxy (GH_HOST=${GH_HOST})..."
1322
- # Use /rate_limit which is exempt from rate limits and proves proxy routing works
1323
- rate_limit=$(gh api /rate_limit --jq '.rate.limit')
1324
- echo "✅ gh CLI works through DIFC proxy (rate limit: ${rate_limit})"
+ # Use a repository endpoint to verify proxied gh API calls.
+ repo_name=$(gh api "repos/${GITHUB_REPOSITORY}" --jq '.full_name')
+ echo "✅ gh CLI works through DIFC proxy (repo: ${repo_name})"
1325
1326
- name: Test actions/github-script with proxy env
1327
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
0 commit comments