Skip to content

Commit

Permalink
chore: enable Close Stale Issues action (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
broofa committed Aug 12, 2022
1 parent f2826b6 commit 1110ae6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/stale-issues.yml
@@ -0,0 +1,22 @@
name: Close inactive issues
on:
schedule:
- cron: "45 2 * * *"

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: 90
days-before-issue-close: 30
stale-issue-label: "stale"
stale-issue-message: "Marking as stale due to 90 days with no activity."
close-issue-message: "Closing issue due to 30 days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1110ae6

Please sign in to comment.