Skip to content

Commit

Permalink
Create stale-branches.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
minikin authored May 9, 2023
1 parent 7165d9d commit 5078124
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/stale-branches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Stale Branches

on:
schedule:
- cron: '0 6 * * 1-5'

permissions:
issues: write
contents: write

jobs:
stale_branches:
runs-on: ubuntu-latest
steps:
- name: Stale Branches
uses: crs-k/stale-branches@v2.0.1
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
days-before-stale: 30
days-before-delete: 45
comment-updates: false
max-issues: 20
tag-committer: false
stale-branch-label: 'stale branch 🗑️'
compare-branches: 'info'

0 comments on commit 5078124

Please sign in to comment.