Skip to content

Commit

Permalink
build: close slate prs
Browse files Browse the repository at this point in the history
  • Loading branch information
pragmaticivan committed Nov 17, 2024
1 parent 7e40729 commit 9466279
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/close-stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: "40 3 * * *" # Run daily at 3:40 AM

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue was marked stale. It will be closed in 30 days without additional activity.'
close-issue-message: 'Closed as inactive. Feel free to reopen if this issue is still relevant.'

stale-pr-message: 'This PR was marked stale. It will be closed in 30 days without additional activity.'
close-pr-message: 'Closed as inactive. Feel free to reopen if this PR is still being worked on.'

days-before-stale: 365
days-before-close: 30

operations-per-run: 500

stale-issue-label: stale
stale-pr-label: stale
exempt-issue-labels: never-stale,bug
exempt-pr-labels: never-stale,bug

0 comments on commit 9466279

Please sign in to comment.