Skip to content

Commit

Permalink
Create stale-branches.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FredM67 authored Jul 1, 2023
1 parent 61fdebd commit 416259c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/stale-branches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# .github/workflows/stale-branches.yml

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/[email protected]
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
days-before-stale: 60
#days-before-delete: 180
comment-updates: false
max-issues: 20
tag-committer: false
stale-branch-label: 'stale branch 🗑️'
compare-branches: 'info'
branches-filter-regex: '^((?!dependabot))'

0 comments on commit 416259c

Please sign in to comment.