Skip to content

delete old workflows #1

delete old workflows

delete old workflows #1

name: delete old workflows
on:
workflow_dispatch:
schedule:
- cron: 0 19 * * *
jobs:
Cleaning:
runs-on: ubuntu-22.04
steps:
- name: Delete Old Workflows
uses: Mattraks/delete-workflow-runs@main
with:
token: ${{ secrets.SEARIY_TOKEN }}
retain_days: 14
keep_minimum_runs: 1
- name: Delete Old Releases
uses: dev-drprasad/delete-older-releases@master
with:
keep_latest: 15
delete_tags: true
env:
GITHUB_TOKEN: ${{ secrets.SEARIY_TOKEN }}