Skip to content

Commit

Permalink
Automatically close stale issues and PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
kr0ner committed Nov 21, 2024
1 parent e4b0024 commit 88c359a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

permissions:
contents: write
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: "Hi there! This is an automated message to let you know that this issue has been inactive for some time. If no further activity or updates are provided in the next 7 days, this issue will be closed as stale. If you're still working on this issue, please leave a comment to let us know. Otherwise, feel free to reopen the issue if you encounter the problem again in the future. Thanks for your understanding!"
stale-pr-message: "Hello! This is an automated message regarding your pull request. We've noticed that this PR has been inactive for a while, with no updates or activity in the last 30 days. If no further updates or responses are provided within the next 7 days, this pull request will be closed as stale. If you're still actively working on this PR, please leave a comment to let us know. We're happy to keep it open and review your changes. Otherwise, feel free to reopen the PR if you have more work to contribute in the future. Thank you for your understanding and contributions!"
stale-pr-label: "stale"

0 comments on commit 88c359a

Please sign in to comment.