File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : setting-default-labels
2
+
3
+ # Controls when the action will run.
4
+ on :
5
+ schedule :
6
+ - cron : " 0 0/3 * * *"
7
+
8
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
9
+ jobs :
10
+ build :
11
+ # The type of runner that the job will run on
12
+ runs-on : ubuntu-latest
13
+
14
+ # Steps represent a sequence of tasks that will be executed as part of the job
15
+ steps :
16
+ - uses : actions/stale@v3
17
+ name : Default issue label as need-to-triage
18
+ with :
19
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
20
+ stale-issue-message : ' This issue is marked need-to-triage for generating issues report.'
21
+ stale-issue-label : ' need-to-triage'
22
+ days-before-stale : 0
23
+ days-before-close : -1
24
+ operations-per-run : 100
25
+
26
+ - uses : actions/stale@v3
27
+ name : Setting issue as idle
28
+ with :
29
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
30
+ stale-issue-message : ' This issue is idle because it has been open for 14 days with no activity.'
31
+ stale-issue-label : ' idle'
32
+ days-before-stale : 14
33
+ days-before-close : -1
34
+ operations-per-run : 100
35
+ exempt-issue-labels : ' backlog'
36
+
37
+ - uses : actions/stale@v3
38
+ name : Setting PR as idle
39
+ with :
40
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
41
+ stale-pr-message : ' This PR is idle because it has been open for 14 days with no activity.'
42
+ stale-pr-label : ' idle'
43
+ days-before-stale : 14
44
+ days-before-close : -1
45
+ operations-per-run : 100
You can’t perform that action at this time.
0 commit comments