Skip to content

Commit bd27e04

Browse files
woody-appleaustina-csa
authored andcommitted
Migrating to a working stale (project-chip#34867)
* Migrating to a working stale * Adding permissions
1 parent 2898361 commit bd27e04

File tree

2 files changed

+41
-42
lines changed

2 files changed

+41
-42
lines changed

.github/stale.yml

-42
This file was deleted.

.github/workflows/stale.yaml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "Process Stale Issues and PRs"
2+
on:
3+
schedule:
4+
- cron: "30 1 * * *"
5+
6+
permissions:
7+
issues: write
8+
pull-requests: write
9+
10+
jobs:
11+
stale:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/stale@v9
15+
with:
16+
stale-issue-message:
17+
"This issue has been automatically marked as stale because
18+
it has not had recent activity. It will be closed if no
19+
further activity occurs. Remove stale label or comment or
20+
this will be closed in 30 days."
21+
stale-pr-message:
22+
"This pull request has been automatically marked as stale
23+
because it has not had recent activity. It will be closed
24+
if no further activity occurs. Remove stale label or
25+
comment or this will be closed in 10 days."
26+
close-issue-message:
27+
"This stale issue has been automatically closed. Thank you
28+
for your contributions."
29+
close-pr-message:
30+
"This stale pull request has been automatically closed.
31+
Thank you for your contributions."
32+
days-before-issue-stale: 30
33+
days-before-issue-close: -1 # Don't close them for now
34+
days-before-pr-stale: 90
35+
days-before-pr-close: 10
36+
exempt-issue-labels:
37+
"security,blocked,cert blocker,build issue,Spec XML
38+
align,CI/CD improvements,memory"
39+
exempt-pr-labels:
40+
"security,blocked,cert blocker,build issue,Spec XML
41+
align,CI/CD improvements,memory"

0 commit comments

Comments
 (0)