Skip to content

Commit

Permalink
Update clean-runners.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik authored Sep 26, 2024
1 parent e18aef2 commit 6c61e72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/clean-runners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
#- uses: actions/checkout@v4
- name: "Restart ${{ matrix.script }}.yml"
run: |
gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/armbian/os/actions/runners
for runner in $(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/armbian/os/actions/runners | jq -r '.runners[] | .id'); do
echo $runner
done
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
Expand Down

0 comments on commit 6c61e72

Please sign in to comment.