Skip to content

Commit

Permalink
workflows.stale - add workflow with action `crs-k/[email protected]
Browse files Browse the repository at this point in the history
….2` to open issues for and delete stale branches
  • Loading branch information
MatteoCampinoti94 committed Nov 15, 2024
1 parent 99cc4d2 commit 5e57789
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Stale Branches

on:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:

jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Stale Branches
uses: crs-k/[email protected]
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
stale-branch-label: 'Stale Branch'
days-before-stale: 30
days-before-delete: 730
compare-branches: 'info'
comment-updates: true
tag-committer: true
max-issues: 50

0 comments on commit 5e57789

Please sign in to comment.