Skip to content

Commit

Permalink
add github Action Delete Older Releases
Browse files Browse the repository at this point in the history
  • Loading branch information
secondnetwork committed Jan 17, 2024
1 parent 86e4273 commit 52ca35a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/delete_releases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Delete Older Releases

on:
push:
branches:
- main

jobs:
delete_releases:
runs-on: ubuntu-latest
steps:
- name: Delete Older Releases
uses: dev-drprasad/[email protected]
with:
repo: secondnetwork/kompass # Replace <owner> and <repoName> with your repository details
keep_latest: 5 # Set to 0 to delete all releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 52ca35a

Please sign in to comment.