forked from cloudfoundry/cli
-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 1.51 KB
/
stale-issues.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: 'Close stale issues and PRs'
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
name: Close Stale Issues
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
actions: write
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed.'
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed.'
close-issue-message: 'Thank you for your submission. If you encounter this issue with the latest version of CF CLI, please open a new ticket with the necessary information as per our issue template.'
close-pr-message: 'Thank you for your submission. If your change is still relevant, please update and reopen it.'
days-before-issue-stale: 30
days-before-pr-stale: 30
days-before-issue-close: -1
days-before-pr-close: -1
stale-issue-label: 'no-issue-activity'
exempt-issue-labels: 'awaiting-approval,work-in-progress'
stale-pr-label: 'no-pr-activity'
exempt-pr-labels: 'awaiting-approval,work-in-progress'
close-issue-label: 'auto-closed-issue'
close-pr-label: 'auto-closed-pr'
# only-labels: 'awaiting-feedback,awaiting-answers'
operations-per-run: 200