arc-configs/.github/workflows/clean.yml
AuxXxilium 85311e2ecd
Some checks failed
Clean Configs / build (release) Failing after 25s
build: update clean
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
2024-08-14 20:15:02 +02:00

28 lines
706 B
YAML

name: Clean Configs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Init Env
run: |
git config --global user.email "info@auxxxilium.tech"
git config --global user.name "AuxXxilium"
sudo timedatectl set-timezone "Europe/Berlin"
- name: Delete releases and workflows runs
uses: ophub/delete-releases-workflows@main
with:
delete_releases: true
releases_keep_latest: 1
delete_workflows: true
delete_tags: true
workflows_keep_day: 1
gh_token: ${{ secrets.GITHUB_TOKEN }}