Skip to content

Delete releases

Delete releases #530

on:
workflow_dispatch:
schedule:
- cron: "0 5 * * *"
name: Delete releases
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Delete drafts
uses: hugo19941994/delete-draft-releases@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Delete Older Releases
uses: dev-drprasad/delete-older-releases@v0.3.4
with:
keep_latest: 5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}