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
# 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: '0 12 * * *'
11
+
12
+
jobs:
13
+
stale:
14
+
15
+
runs-on: ubuntu-latest
16
+
permissions:
17
+
issues: write
18
+
pull-requests: write
19
+
20
+
steps:
21
+
- uses: actions/stale@v9
22
+
with:
23
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
24
+
stale-issue-label: 'no-issue-activity'
25
+
stale-pr-label: 'no-pr-activity'
26
+
days-before-stale: 180
27
+
days-before-issue-stale: 730
28
+
days-before-close: 30
29
+
days-before-pr-close: -1
30
+
stale-pr-message: 'Stale pull request detected at 180 days. Please update, comment, or rebase.'
31
+
stale-issue-message: 'This issue is marked as stale. If you want to keep this issue open, please leave a comment, otherwise the issue will be closed due to inactivity.'
32
+
close-issue-message: "This issue has been closed due to inactivity after being stale for 30 days."
0 commit comments