From bd9fbcb45afdc21c0fb6865029ab4fb478e840c5 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Sat, 15 Oct 2022 17:01:20 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Fix=20Workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/github-cleanup.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/github-cleanup.yml b/.github/workflows/github-cleanup.yml index d56973f..7b5a0cb 100644 --- a/.github/workflows/github-cleanup.yml +++ b/.github/workflows/github-cleanup.yml @@ -8,7 +8,7 @@ on: required: true jobs: - github-cleanup: + release-cleanup: name: GitHub Cleanup timeout-minutes: 5 runs-on: ubuntu-latest @@ -18,9 +18,8 @@ jobs: with: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} RELEASE_PATTERN: '[\s\S]*' - - - name: Delete Workflow Runs - uses: nikhilbadyal/ghactions/.github/workflows/github-workflow-cleaner.yml@main - with: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - GITHUB_REPOSITORY: ${{ github.repository }} + workflow-cleanup: + uses: nikhilbadyal/ghactions/.github/workflows/github-workflow-cleaner.yml@main + secrets: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_REPOSITORY: ${{ github.repository }}