Skip to content

Delete Draft Releases older than 5 days #110

Delete Draft Releases older than 5 days

Delete Draft Releases older than 5 days #110

Workflow file for this run

name: Delete Draft Releases older than 5 days
on:
schedule:
- cron: '0 5 * * 0'
push:
paths:
- '.github/workflows/cleanup.yaml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Delete drafts
uses: hugo19941994/[email protected]
with:
threshold: 5d
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}