Skip to content

Commit

Permalink
chore: echo debug
Browse files Browse the repository at this point in the history
  • Loading branch information
chintankavathia committed Nov 25, 2024
1 parent 3d5da91 commit ad0445a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ jobs:
# Fetch latest workflow runs for Repository B
RESPONSE=$(curl -s -H "Authorization: token $PAT" \
"https://api.github.com/repos/chintankavathia/siemens-datatable/actions/runs?branch=main&status=in_progress")
"https://api.github.com/repos/chintankavathia/siemens-datatable/actions/runs?branch=main&status=any&page=1&per_page=1")
echo "Raw API Response: $RESPONSE"
RUN_ID=$(echo $RESPONSE | jq -r '.workflow_runs[0].id')
STATUS=$(echo $RESPONSE | jq -r '.workflow_runs[0].status')
Expand Down

0 comments on commit ad0445a

Please sign in to comment.