Cleanup Stale Branches #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@03d7d18e1a5ca5663846c6399e0614941d4985c3 # v1.1.19 | |
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 |