Skip to content

Commit

Permalink
Update list available runners
Browse files Browse the repository at this point in the history
Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
  • Loading branch information
5abeel committed Mar 7, 2025
1 parent d2b1c29 commit edfbbc9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,6 @@ jobs:
https://api.github.com/repos/${{ github.repository }}/actions/runners \
| jq '.runners?[]? | {name, status, labels}' || echo "No runners found."
- name: List available runners 2
run: |
echo "Available runners:"
curl -s -v -H "Authorization: Bearer ${{ secrets.ORG_PAT }}" \
https://api.github.com/repos/${{ github.repository }}/actions/runners \
> runners.json
if [ -s runners.json ]; then
jq '.runners?[]? | {name, status, labels}' runners.json
else
echo "Failed to retrieve runners."
fi
- name: Log selected runner
run: |
echo "This job is running on runner: $RUNNER_NAME"
Expand Down

0 comments on commit edfbbc9

Please sign in to comment.