From e133c757c51c79c8858b827d6837000c6ab70587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Wed, 2 Nov 2022 10:52:53 +0100 Subject: [PATCH] Fix repository in workflow used to delete old workflow runs --- .github/workflows/delete-old-workflows-run.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/delete-old-workflows-run.yaml b/.github/workflows/delete-old-workflows-run.yaml index cf6fd5d2..d07b97ca 100644 --- a/.github/workflows/delete-old-workflows-run.yaml +++ b/.github/workflows/delete-old-workflows-run.yaml @@ -17,7 +17,7 @@ jobs: - name: Delete old workflow runs uses: MajorScruffy/delete-old-workflow-runs@v0.3.0 with: - repository: ${{ env.GITHUB_REPOSITORY }} + repository: ${{ github.repository }} older-than-seconds: 43200000 # 500 days env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}