Skip to content

Commit

Permalink
Add a stale workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
knro committed Mar 17, 2024
1 parent 624a463 commit 24bc019
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Close Stale Issues'

on:
schedule:
• cron: '30 1 * * *' # This will run the workflow daily at 1:30 UTC


jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
• uses: actions/stale@v4

with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 60
days-before-close: 7
stale-issue-message: 'This issue has been inactive for 60 days and is being marked as stale.'
close-issue-message: 'This issue has been closed due to inactivity.'

0 comments on commit 24bc019

Please sign in to comment.