Skip to content

cleanup

cleanup #27

Workflow file for this run

name: 'cleanup'
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'
jobs:
clean_workflow_runs:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: clean workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 30
keep_minimum_runs: 30
remove_package_versions:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: purge container packages
uses: dylanratcliffe/delete-untagged-containers@main
with:
package_name: 'silabs-multipan-docker'
token: ${{ secrets.GITHUB_TOKEN }}