-
Notifications
You must be signed in to change notification settings - Fork 3
29 lines (26 loc) · 1.24 KB
/
CloseStaleIssuesAndPRs.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
name: CloseStaleIssuesAndPRs
on:
workflow_dispatch:
workflow_call:
jobs:
CloseStaleIssues:
runs-on: ubuntu-latest
steps:
- name: DumpEnvironment
uses: asterisk/asterisk-ci-actions/DumpEnvironmentAction@main
- name: CloseStaleIssues
uses: asterisk/github-actions-stale@main-only-matches-filter
with:
stale-issue-message: 'This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
stale-issue-label: stale
close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.'
days-before-issue-stale: 7
days-before-issue-close: 14
stale-pr-message: 'This PR is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
stale-pr-label: stale
close-pr-message: 'This PR was closed because it has been stalled for 14 days with no activity.'
days-before-pr-stale: 1
days-before-pr-close: 2
exempt-draft-pr: true
debug-only: true
only-matching-filter: 'repo:asterisk/asterisk is:pr is:open review:changes_requested'