Manage stale branches #3
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: 'Manage stale branches' | |
on: | |
schedule: | |
# Run every monday at 10 am | |
- cron: "0 10 * * 1" | |
jobs: | |
manage-stale-branches: | |
name: "Manage stale branches" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Manage Stale Branches" | |
id: manage-stale-branches | |
uses: crazy-matt/[email protected] | |
with: | |
gh_token: ${{ secrets.GITHUB_TOKEN }} | |
stale_older_than: 60 | |
suggestions_older_than: 30 | |
excluded_branches: | | |
origin/main | |
origin/master |