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:
parent
a94ccb431d
commit
8227423890
1 changed files with 2 additions and 2 deletions
4
.github/workflows/update-by-lang.yml
vendored
4
.github/workflows/update-by-lang.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue