.github/workflows/stale-branches.yml
name: Check for Stale Branches
on:
schedule:
- cron: '0 6 * * 1-5'
permissions:
issues: write
contents: write
jobs:
stale_branches:
runs-on: ubuntu-latest
steps:
- name: Check for Stale Branches
uses: crs-k/stale-branches@v3.0.0
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
days-before-stale: 15
days-before-delete: 180
stale-branch-label: 'stale branch 🗑️'
tag-commiter: true