0
1
Fork 0
mirror of https://github.com/sokai/gh-stars.git synced 2025-10-10 23:40:39 +02:00

Update update-by-lang.yml

* Fixed vars usage
This commit is contained in:
sokai 2025-09-04 11:51:10 +00:00 committed by GitHub
parent a94ccb431d
commit 8227423890
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,9 +16,9 @@ jobs:
steps:
- name: 🧹 Delete old workflow runs
run: |
gh api repos/${{ github.repository }}/actions/runs --paginate -q '.workflow_runs[] \
gh api repos/${REPOSITORY}/actions/runs --paginate -q '.workflow_runs[] \
| select(.status != "in_progress" and .status != "queued") | "\(.id)"' \
| xargs -I % gh api repos/${{ github.repository }}/actions/runs/% -X DELETE
| xargs -I % gh api repos/${REPOSITORY}/actions/runs/% -X DELETE
- name: ⬇ Checkout
uses: actions/checkout@v5