👷 Fix Workflow

This commit is contained in:
Nikhil Badyal
2022-10-15 17:01:20 +05:30
parent 9821538a53
commit bd9fbcb45a
+6 -7
View File
@@ -8,7 +8,7 @@ on:
required: true required: true
jobs: jobs:
github-cleanup: release-cleanup:
name: GitHub Cleanup name: GitHub Cleanup
timeout-minutes: 5 timeout-minutes: 5
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -18,9 +18,8 @@ jobs:
with: with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
RELEASE_PATTERN: '[\s\S]*' RELEASE_PATTERN: '[\s\S]*'
workflow-cleanup:
- name: Delete Workflow Runs uses: nikhilbadyal/ghactions/.github/workflows/github-workflow-cleaner.yml@main
uses: nikhilbadyal/ghactions/.github/workflows/github-workflow-cleaner.yml@main secrets:
with: GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_REPOSITORY: ${{ github.repository }}