Skip to content

Cleanup Stale Branches #102

Cleanup Stale Branches

Cleanup Stale Branches #102

name: Cleanup Stale Branches
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # This schedule runs the workflow at midnight every day
jobs:
cleanup-stale-branches:
runs-on: ubuntu-latest
steps:
- name: Cleanup Stale Branches
uses: cbrgm/cleanup-stale-branches-action@07d311426eed2eff32c70ca5f8b47297ce7469e9 # v1.1.21
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
allowed-prefixes: "dependabot/,temp-cherry-pick-,cherry-pick-"
last-commit-age-days: 7
dry-run: false
rate-limit: true