diff --git a/.github/workflows/update-by-lang.yml b/.github/workflows/update-by-lang.yml index daba05c..1bb0fc7 100644 --- a/.github/workflows/update-by-lang.yml +++ b/.github/workflows/update-by-lang.yml @@ -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