Skip to content

Commit

Permalink
Create autoclean.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik authored Jan 7, 2024
1 parent fbbd19d commit 9b8eca9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/autoclean.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Clean old releases"
on:
workflow_dispatch:

jobs:

build:
name: Recreate action
runs-on: ubuntu-latest
steps:
- uses: sgpublic/delete-release-action@v1.1
with:
release-drop: true
release-keep-count: 3
release-drop-tag: true
pre-release-drop: true
pre-release-keep-count: -1
pre-release-drop-tag: true
draft-drop: true
draft-drop-count: -1
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 9b8eca9

Please sign in to comment.