Skip to content

Commit

Permalink
chore: add actions/stale for issues
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao committed Jan 31, 2025
1 parent f084010 commit 54110c5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Close issues that have been blocked for two weeks

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

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest

steps:
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
only-labels: 'blocked/needs-info,blocked/needs-repro'
labels-to-remove-when-unstale: 'blocked/needs-info,blocked/needs-repro'
days-before-pr-stale: 9001 # good luck to whoever leaves their PR up for 25 years

0 comments on commit 54110c5

Please sign in to comment.