Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Delete Old Workflows #513

Delete Old Workflows

Delete Old Workflows #513

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