Skip to content

Commit

Permalink
feat(ci): add remove stale-branches job
Browse files Browse the repository at this point in the history
  • Loading branch information
minikin authored Oct 10, 2023
1 parent eb0d824 commit 03ed4a0
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/[email protected]
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 03ed4a0

Please sign in to comment.