File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Mark stale issues and pull requests
2
+
3
+ on :
4
+ schedule :
5
+ - cron : " 30 1 * * *"
6
+
7
+ jobs :
8
+ stale :
9
+
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/stale@v1
14
+ with :
15
+ # Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`.
16
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
17
+ stale-pr-message : ' Due to inactivity this pull request has been marked as stale.'
18
+ # The message to post on the issue when closing it. If none provided, will not comment when closing an issue.
19
+ close-pr-message : ' Closing this pr due to no activity.'
20
+ # The number of days old an issue can be before marking it stale. Set to -1 to never mark issues or pull requests as stale automatically.
21
+ days-before-stale : 7
22
+ # The number of days to wait to close an issue or pull request after it being marked stale. Set to -1 to never close stale issues.
23
+ days-before-close : 7
24
+ # The label to apply when a pull request is stale.
25
+ stale-pr-label : ' Stale'
26
+ # The label to apply when a pull request is closed.
27
+ close-pr-label : ' Stale-n-closed'
You can’t perform that action at this time.
0 commit comments