-
Notifications
You must be signed in to change notification settings - Fork 961
47 lines (44 loc) · 1.98 KB
/
stale.yaml
File metadata and controls
47 lines (44 loc) · 1.98 KB
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
name: Close Stale Issues & PRs
on:
workflow_dispatch:
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# * * * * *
- cron: "0 0 * * 3"
- cron: "30 1 * * *"
permissions: read-all
jobs:
stale:
name: Stale
runs-on: ubuntu-latest
permissions:
contents: read # If we want to delete branches write is required
issues: write
pull-requests: write
defaults:
run:
shell: bash
steps:
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
with:
stale-issue-message: >
👋 Hey Friends, this issue has been automatically marked as `stale` because it has no recent activity.
It will be closed if no further activity occurs.
Please add the `Status: Pinned` label if you feel that this issue needs to remain open/active.
Thank you for your contributions and help in keeping things tidy!
stale-pr-message: >
👋 Hey Friends, this pull request has been automatically marked as `stale` because it has no recent activity.
It will be closed if no further activity occurs.
Please add the `Status: Pinned` label if you feel that this issue needs to remain open/active.
Thank you for your contributions and help in keeping things tidy!
days-before-stale: 270
days-before-close: 7
exempt-issue-labels: "Status: Pinned"
exempt-pr-labels: "Status: Pinned"
operations-per-run: 100
stale-issue-label: "Status: Stale"
stale-pr-label: "Status: Stale"