👷 Updated Regex for cleanup

This commit is contained in:
Nikhil Badyal
2022-10-14 21:05:13 +05:30
parent b783f8f411
commit 7e80b3007d
2 changed files with 23 additions and 8 deletions
+20
View File
@@ -0,0 +1,20 @@
name: GitHub Cleanup
on:
workflow_dispatch:
workflow_call:
secrets:
GH_TOKEN:
required: true
jobs:
github-cleanup:
name: GitHub Cleanup
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- name: Delete Older Releases
uses: nikhilbadyal/ghaction-rm-releases@v0.0.2
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
RELEASE_PATTERN: '[\s\S]*'