Skip to content

Commit

Permalink
Add stale workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rawilk committed Oct 31, 2022
1 parent fb444ea commit e7ab006
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: "23 12 * * *"

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

steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days."
stale-issue-label: "stale"
stale-pr-message: "This PR is stale because it has been open for 21 days with no activity. Remove stale label or comment or this will be closed in 7 days."
stale-pr-label: "stale"
exempt-issue-labels: "enhancement,help wanted"
days-before-stale: 21
days-before-close: 7

0 comments on commit e7ab006

Please sign in to comment.