This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
60 lines (56 loc) · 2.11 KB
/
clear-stale-PRs.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
```yaml
name: clear-stale-PRs
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # UTC Midnight everyday
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Close Stale Issues
uses: actions/[email protected]
with:
repo-token: ${{ secrets.DIGITAL_POUND_COIN_TOKEN }}
exempt-pr-labels: pinned,security,good-first-issue,in-progress
ascending: true # gets in ascending order
stale-issue-label: "stale"
days-before-pr-stale: 21
stale-pr-message: |
This pull request has been automatically marked as stale because it
has not had recent activity. It will be closed if no further activity
occurs - please feel free to re-open when your project has more traction.
days-before-pr-close: 7
close-pr-message: |
This pull request has not seen any activity since it was marked stale.
Closing.
operations-per-run: 250
debug-only: false # true for dry run, false to actually perform the operations
```yaml
name: clear-stale-PRs
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # UTC Midnight everyday
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Close Stale Issues
uses: actions/[email protected]
with:
repo-token: ${{ secrets.DIGITAL_POUND_COIN_TOKEN }}
exempt-pr-labels: pinned,security,good-first-issue,in-progress
ascending: true # gets in ascending order
stale-issue-label: "stale"
days-before-pr-stale: 21
stale-pr-message: |
This pull request has been automatically marked as stale because it
has not had recent activity. It will be closed if no further activity
occurs - please feel free to re-open when your project has more traction.
days-before-pr-close: 7
close-pr-message: |
This pull request has not seen any activity since it was marked stale.
Closing.
operations-per-run: 250
debug-only: false # true for dry run, false to actually perform the operations