Skip to content

Commit f0bfbf4

Browse files
authored
Merge pull request #1012 from chocolatey/repo-sync/github/default
(maint) synced file(s) with chocolatey/.github
2 parents 599f6f1 + d2c27f8 commit f0bfbf4

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/workflows/stale.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: 'Stale Issue and PR Cleanup'
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '0 4 * * *'
6+
7+
permissions:
8+
issues: write
9+
pull-requests: write
10+
11+
jobs:
12+
stale:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/[email protected]
16+
id: stale
17+
with:
18+
days-before-stale: 30
19+
days-before-close: 14
20+
exempt-all-assignees: false
21+
exempt-draft-pr: true
22+
stale-issue-label: "Pending Closure"
23+
stale-pr-label: 'Pending Closure'
24+
only-labels: '0 - Waiting on User'
25+
close-issue-label: "No Response / Stale"
26+
close-pr-label: "No Response / Stale"
27+
exempt-issue-labels: 'Security / CVE'
28+
exempt-pr-labels: 'Security / CVE'
29+
labels-to-remove-when-unstale: '0 - Wating on User,Pending closure'
30+
stale-issue-message: |
31+
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
32+
This issue will be closed in 14 days if it continues to be inactive.
33+
close-issue-message: |
34+
Dear contributor,
35+
36+
As this issue seems to have been inactive for quite some time now, it has been automatically closed.
37+
If you feel this is a valid issue, please feel free to re-open the issue if / when a pull request
38+
has been added.
39+
Thank you for your contribution.
40+
41+
close-pr-message: |
42+
Dear contributor,
43+
44+
As this PR seems to have been inactive for 30 days after changes / additional information
45+
was requested, it has been automatically closed.
46+
If you feel the changes are still valid, please re-open the PR once all changes or additional information
47+
that was requested has been added.
48+
Thank you for your contribution.

0 commit comments

Comments
 (0)