forked from detekt/detekt
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 2.13 KB
/
stale.yaml
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
name: Mark stale issues and pull requests
on:
schedule:
- cron: "30 1 * * *"
jobs:
stale:
runs-on: ubuntu-latest
if: github.repository == 'detekt/detekt'
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
with:
repo-token: ${{ secrets.DETEKT_CI_GITHUB_USER_TOKEN }}
days-before-stale: 90
stale-issue-message: "This issue is stale because it has been open 90 days with no activity. Please comment or this will be closed in 7 days."
stale-pr-message: "This PR is stale because it has been open 90 days with no activity. Please comment or this will be closed in 7 days."
close-issue-message: "This issue was closed because it has been stalled for 7 days with no activity."
close-pr-message: "This PR was closed because it has been stalled for 7 days with no activity."
stale-issue-label: stale
stale-pr-label: stale
exempt-issue-labels: help wanted, good first issue, never gets stale, blocked
exempt-pr-labels: help wanted, good first issue, never gets stale, blocked
exempt-milestones: 2.0.0
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
with:
repo-token: ${{ secrets.DETEKT_CI_GITHUB_USER_TOKEN }}
days-before-stale: 30
stale-issue-message: "This issue is waiting for authors feedback since 30 days. Please comment providing the requested feedback or this issue will be closed in 7 days."
stale-pr-message: "This PR is waiting for authors feedback since 30 days. Please comment providing the requested feedback or this PR will be closed in 7 days."
close-issue-message: "This issue was closed because its author has not followed up after 7 days."
close-pr-message: "This PR was closed because its author has not followed up after 7 days."
stale-issue-label: stale
stale-pr-label: stale
any-of-labels: waiting for feedback, support
exempt-issue-labels: never gets stale
exempt-pr-labels: never gets stale