-
-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (35 loc) · 1.1 KB
/
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
---
name: stale-issues-prs-branches
on:
schedule:
- cron: 0 0 * * *
jobs:
label-issues:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
name: Setting issue as idle
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
stale-issue-message: "This issue is idle because it has been open for 60 days with no activity."
stale-issue-label: idle
days-before-stale: 60
days-before-close: 7
operations-per-run: 100
exempt-issue-labels: backlog
- uses: actions/stale@v9
name: Setting PR as idle
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
stale-pr-message: "This PR is idle because it has been open for 60 days with no activity."
stale-pr-label: idle
days-before-stale: 60
days-before-close: 7
operations-per-run: 100
- name: Cleanup Stale Branches
uses: cbrgm/cleanup-stale-branches-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
dry-run: false
...