-
Notifications
You must be signed in to change notification settings - Fork 9
40 lines (32 loc) · 1 KB
/
stale.yaml
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
#
# Stale item management
#
# NOTES:
# This workflow manages stale work items on the repository.
name: Stale maintenance
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:
permissions: {}
jobs:
issue:
name: Close stale issues
runs-on: ubuntu-latest
if: github.repository == 'microsoft/PSRule.Monitor'
permissions:
issues: write
steps:
- uses: actions/stale@v9
with:
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs within 7 days.
Thank you for your contributions.
close-issue-message: 'This issue was closed because it has not had any recent activity.'
days-before-stale: 14
days-before-pr-stale: -1
days-before-close: 7
days-before-pr-close: -1
any-of-labels: 'question,duplicate,incomplete,waiting-feedback'
stale-issue-label: stale