You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: add stale workflow to manage inactive issues/PRs (#18)
Add a GitHub Actions workflow, 'stale.yml', to automatically manage
stale issues and pull requests. This workflow marks issues and PRs as
stale after 30 days of inactivity and closes them if no action is taken
within an additional 5 days. This change helps maintain repository
hygiene by reducing the number of inactive issues and PRs. Exempt labels
include 'enhancement' and 'bug'.
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2
+
#
3
+
# You can adjust the behavior by modifying this file.
4
+
# For more information, see:
5
+
# https://github.com/actions/stale
6
+
name: Mark stale issues and pull requests
7
+
8
+
on:
9
+
schedule:
10
+
- cron: '19 4 * * *'
11
+
12
+
jobs:
13
+
stale:
14
+
permissions:
15
+
actions: write
16
+
issues: write
17
+
pull-requests: write
18
+
runs-on: ubuntu-latest
19
+
steps:
20
+
- uses: actions/stale@v10
21
+
with:
22
+
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
23
+
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
24
+
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
25
+
close-pr-message: 'This PR was closed because it has been stalled for 5 days with no activity.'
0 commit comments