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: 'Close stale issues and PRs'
7
+
on:
8
+
schedule:
9
+
- cron: '30 1 * * *'# run every day at 01:30 UTC
10
+
11
+
permissions: # added using https://github.com/step-security/secure-workflows
12
+
contents: read
13
+
14
+
jobs:
15
+
stale:
16
+
permissions:
17
+
issues: write # for actions/stale to close stale issues
18
+
pull-requests: write # for actions/stale to close stale PRs
19
+
runs-on: ubuntu-latest
20
+
steps:
21
+
- uses: actions/stale@1v8
22
+
with:
23
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
24
+
stale-issue-message: 'This issue is stale because it has been open for 90 days with no activity. Remove the stale label or add a comment to keep it open. If you do not take action, this will be closed in 10 days.'
25
+
stale-pr-message: 'This PR is stale because it has been open 90 days with no activity. Remove the stale label or add a comment to keep it open. If you do not take action, this will be closed in 10 days.'
26
+
close-issue-message: 'This issue was closed after 100 days of inactivity.'
27
+
close-pr-message: 'This PR was closed after 100 days of inactivity.'
0 commit comments