-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/clusterzx/paperless-ai
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Mark stale issues and pull requests | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" # Runs daily at midnight | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Close stale issues and pull requests | ||
uses: actions/stale@v8 | ||
with: | ||
repo-token: ${{ secrets.stale_bot }} | ||
stale-issue-message: "This issue has been marked as stale due to inactivity. Please respond to keep it open." | ||
stale-pr-message: "This pull request has been marked as stale due to inactivity. Please update it to keep it open." | ||
close-issue-message: "This issue has been closed due to lack of response." | ||
close-pr-message: "This pull request has been closed due to lack of response." | ||
days-before-stale: 7 # Days before an issue or PR is marked as stale | ||
days-before-close: 3 # Days before a stale issue or PR is closed | ||
stale-issue-label: "stale" # Label added to stale issues | ||
exempt-issue-labels: "wontfix,bug" # Labels that exempt issues from being marked as stale | ||
only-issues: true # Only affect issues, not PRs |