forked from docker-mailserver/docker-mailserver
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (39 loc) · 1.57 KB
/
handle_stalled.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
name: "Handle Stale Issues & Pull Requests"
on:
schedule:
- cron: "0 1 * * *"
permissions:
contents: read
jobs:
stale:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-22.04
steps:
- name: Close stale issues
uses: actions/stale@v7
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 20
days-before-close: 10
exempt-issue-labels: stale-bot/ignore
stale-issue-label: meta/stale
stale-issue-message: |
This issue has become stale because it has been open for 20 days without activity.
This issue will be closed in 10 days automatically unless:
- a maintainer removes the `meta/stale` label or adds the `stale-bot/ignore` label
- new activity occurs, such as a new comment
close-issue-label: "meta/closed due to age or inactivity"
close-issue-message: >
This issue was closed due to inactivity.
exempt-pr-labels: stale-bot/ignore
stale-pr-label: meta/stale
stale-pr-message: |
This pull request has become stale because it has been open for 20 days without activity.
This pull request will be closed in 10 days automatically unless:
- a maintainer removes the `meta/stale` label or adds the `stale-bot/ignore` label
- new activity occurs, such as a new comment
close-pr-label: "meta/closed due to age or inactivity"
close-pr-message: >
This PR was closed due to inactivity.