forked from mozilla-mobile/firefox-ios
-
Notifications
You must be signed in to change notification settings - Fork 2
65 lines (50 loc) · 2.7 KB
/
firefox-ios-stale.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Close Stale Issues
# Warns and then closes issues and PRs that have had no activity for a specified amount of time.
# https://github.com/actions/stale
name: Close Stale Issues
on:
schedule:
- cron: "0 0 * * *" # Once per day at midnight
workflow_dispatch: {}
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
### GENERAL ###
# Max number of operations per run
operations-per-run: 1000
# Change the order used to fetch the issues and pull requests from GitHub. Going with older ones.
ascending: true
### ISSUES ###
# Idle number of days before marking issues stale, set `-1` to disable
# 350 days (a little less than a year) for now, can be evaluated later if needs to be lowered more
days-before-issue-stale: 350
# Idle number of days before closing stale issues
days-before-issue-close: 30
# Comment on the staled issues
stale-issue-message: "This issue has been automatically marked as stale. Has the issue been fixed, or does it still require the community's attention? Please leave any comment to keep this issue opened. It will be closed automatically if no further update occurs in the next 30 days. Thank you for your contributions!"
# Comment on the closed stale issues
close-issue-message: "Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue linking to this one, with up-to-date information. Thank you!"
# Reason to use when closing issues
close-issue-reason: not_planned
# Labels on issues exempted from stale
exempt-issue-labels: "do not stale,Feature-Request"
# Label to apply on staled issues
stale-issue-label: "stale"
### PULL REQUESTS ###
# Idle number of days before marking PRs stale
# We need to review PRs faster than 2 weeks. If there's no action on a PR for this period of time we should close it.
days-before-pr-stale: 14
# Idle number of days before closing stale PRs
days-before-pr-close: 7
# Comment on the staled PRs
stale-pr-message: "This PR has been automatically marked as stale. Please leave any comment to keep this PR opened. It will be closed automatically if no further update occurs in the next 7 days. Thank you for your contributions!"
# Label to apply on staled PRs
stale-pr-label: "stale"
# Labels on PRs exempted from stale
exempt-pr-labels: "do not stale,weekly-release"