fengmiguoji commited on
Commit
949bb8d
·
verified ·
1 Parent(s): 7425fbc

Upload .github\workflows\stale.yml with huggingface_hub

Browse files
Files changed (1) hide show
  1. .github//workflows//stale.yml +30 -0
.github//workflows//stale.yml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 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 3 * * *'
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@v5
22
+ with:
23
+ days-before-issue-stale: 15
24
+ days-before-issue-close: 3
25
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
26
+ stale-issue-message: "Close due to it's no longer active, if you have any questions, you can reopen it."
27
+ stale-pr-message: "Close due to it's no longer active, if you have any questions, you can reopen it."
28
+ stale-issue-label: 'no-issue-activity'
29
+ stale-pr-label: 'no-pr-activity'
30
+ any-of-labels: 'duplicate,question,invalid,wontfix,no-issue-activity,no-pr-activity,enhancement,cant-reproduce,help-wanted'