Skip to content

Commit

Permalink
GHA: more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Feb 6, 2024
1 parent 0b65ce9 commit 16f6893
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ jobs:
link_header=$(echo "$response_with_headers" | grep -i '^Link:' | tr -d '\r')
echo "Link header: $link_header" # Diagnostic output
if [ -z "$link_header" ] && [ $page -eq 1 ]; then
echo "No Link header found, possibly only a single page of results."
fi
response=$(curl -sS -H "Authorization: token ${{ secrets.GH_TOKEN }}" \
"https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs?page=$page&per_page=100")
Expand Down

0 comments on commit 16f6893

Please sign in to comment.