Skip to content

Cleaning

Cleaning #643

Workflow file for this run

name: Cleaning
on:
workflow_dispatch:
schedule:
- cron: 1 1 * * 1
watch:
types: started
jobs:
Cleanup-Old-Releases:
runs-on: ubuntu-24.04
steps:
- name: Delete Older Releases
uses: dev-drprasad/delete-older-releases@master
with:
keep_latest: 20
delete_tags: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Cleanup-Old-Artifacts:
runs-on: ubuntu-24.04
steps:
- name: Cleanup Old Action Artifacts
uses: c-hive/gha-remove-artifacts@master
with:
age: '3 days'
skip-recent: 3
Cleanup-Workflow-Logs:
runs-on: ubuntu-24.04
steps:
- name: Cleanup Workflow Logs
uses: Mattraks/delete-workflow-runs@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
retain_days: 3