Skip to content

Cleanup old branches #11

Cleanup old branches

Cleanup old branches #11

name: Cleanup old branches
on:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
jobs:
housekeeping:
name: Cleanup old branches
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run delete-old-branches-action
uses: beatlabs/[email protected]
with:
repo_token: ${{ github.token }}
date: '1 month ago'
dry_run: false
extra_protected_branch_regex: ^(main)$
exclude_open_pr_branches: false