Skip to content

Commit

Permalink
Update delete_releases.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
secondnetwork authored Jan 17, 2024
1 parent 52ca35a commit 584cf51
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/delete_releases.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Delete Older Releases

on:
push:
branches:
- main
workflow_dispatch:

jobs:
delete_releases:
Expand All @@ -14,5 +12,8 @@ jobs:
with:
repo: secondnetwork/kompass # Replace <owner> and <repoName> with your repository details
keep_latest: 5 # Set to 0 to delete all releases
keep_min_download_counts: 1 # Optional parameters
delete_expired_data: 10 # Optional parameters
delete_tag_pattern: beta # defaults to ""
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 584cf51

Please sign in to comment.