-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 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,23 @@ | ||
name: Mark stale issues and pull requests | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" # Runs daily | ||
workflow_dispatch: # Allows manual triggering | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Close stale issues and PRs | ||
uses: actions/stale@v8 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: "This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs." | ||
stale-pr-message: "This pull request has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs." | ||
days-before-stale: 7 # Number of days before marking as stale | ||
days-before-close: 3 # Number of days before closing after being marked as stale | ||
stale-issue-label: "stale" | ||
exempt-issue-labels: "keep-open" # Prevents issues with this label from being marked stale | ||
stale-pr-label: "stale" | ||
exempt-pr-labels: "keep-open" |