From 8227423890a9671eb0727a0039b5d6eacbba13ca Mon Sep 17 00:00:00 2001 From: sokai Date: Thu, 4 Sep 2025 11:51:10 +0000 Subject: [PATCH] Update update-by-lang.yml * Fixed vars usage --- .github/workflows/update-by-lang.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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