|
@@ -0,0 +1,31 @@
|
|
|
+# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
|
|
|
+#
|
|
|
+# You can adjust the behavior by modifying this file.
|
|
|
+# For more information, see:
|
|
|
+# https://github.com/actions/stale
|
|
|
+name: Mark stale issues and pull requests
|
|
|
+
|
|
|
+on:
|
|
|
+ schedule:
|
|
|
+ - cron: '0 17 * * *'
|
|
|
+
|
|
|
+jobs:
|
|
|
+ stale:
|
|
|
+
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ permissions:
|
|
|
+ issues: write
|
|
|
+ pull-requests: none
|
|
|
+
|
|
|
+ steps:
|
|
|
+ - uses: actions/stale@v5
|
|
|
+ with:
|
|
|
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
+ stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.'
|
|
|
+ stale-issue-label: 'stale'
|
|
|
+ close-issue-reason: 'completed'
|
|
|
+ exempt-issue-labels: 'bug, dependencies, documentation, enhancement, WIP'
|
|
|
+ operations-per-run: 900
|
|
|
+ days-before-pr-stale: -1
|
|
|
+ days-before-pr-close: -1
|
|
|
+ ascending: true
|