Skip to content

Commit

Permalink
add stale workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Apr 10, 2024
1 parent 0983ce3 commit 40b22f6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment."
stale-pr-message: "This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment."
days-before-stale: 60
days-before-close: 14
operations-per-run: 1000
exempt-pr-labels: "work-in-progress,informational"
exempt-issue-labels: "work-in-progress,informational"

0 comments on commit 40b22f6

Please sign in to comment.