Skip to content

Commit

Permalink
cicd: add stale bot (#13)
Browse files Browse the repository at this point in the history
* Comments on stale issues and PRs
  • Loading branch information
korikuzma authored Mar 1, 2024
1 parent 7aea5f1 commit 8e98a7e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Make comments on stale issues and PRs"

on:
schedule:
- cron: "30 13 * * *"

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
remove-stale-when-updated: true

days-before-issue-stale: 45
stale-issue-label: stale
stale-issue-message: "This issue is stale because it has been open 45 days with no activity. Please make a comment for triaging or closing the issue."

days-before-pr-stale: 7
stale-pr-label: stale
stale-pr-message: "This PR is stale because it has been open 7 days with no activity. Please review this PR."

0 comments on commit 8e98a7e

Please sign in to comment.