Skip to content

Stale bot: staleness after 1 year, close after 2 years #1102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions config/jobs/testing/testing-periodics-trusted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ periodics:
annotations:
testgrid-dashboards: cert-manager-testing-janitors
testgrid-alert-email: [email protected]
description: Closes PRs and issues that are marked 'rotten' and have been inactive for 30d
description: Closes PRs and issues that are marked 'rotten' and have been inactive for 2y
labels:
preset-deployer-github-token: "true"
spec:
Expand All @@ -20,10 +20,10 @@ periodics:
--query=repo:cert-manager/cert-manager repo:cert-manager/trust-manager
-label:lifecycle/frozen
label:lifecycle/rotten
- --updated=720h
- --updated=17520h # 2 years
- --token=/etc/github/token
- |-
--comment=Rotten issues close after 30d of inactivity.
--comment=Rotten issues close after 2y of inactivity.
Reopen the issue with `/reopen`.
Mark the issue as fresh with `/remove-lifecycle rotten`.
/close
Expand All @@ -37,7 +37,7 @@ periodics:
annotations:
testgrid-dashboards: cert-manager-testing-janitors
testgrid-alert-email: [email protected]
description: Marks PRs and issues that are marked 'stale' and have been inactive for 30d as 'rotten'
description: Marks PRs and issues that are marked 'stale' and have been inactive for 1.5y as 'rotten'
labels:
preset-deployer-github-token: "true"
spec:
Expand All @@ -51,12 +51,12 @@ periodics:
-label:lifecycle/frozen
label:lifecycle/stale
-label:lifecycle/rotten
- --updated=720h
- --updated=13140h # 1.5 years
- --token=/etc/github/token
- |-
--comment=Stale issues rot after 30d of inactivity.
--comment=Stale issues rot after 1.5y of inactivity.
Mark the issue as fresh with `/remove-lifecycle rotten`.
Rotten issues close after an additional 30d of inactivity.
Rotten issues close after an additional 6m of inactivity.
If this issue is safe to close now please do so with `/close`.
/lifecycle rotten
/remove-lifecycle stale
Expand All @@ -70,7 +70,7 @@ periodics:
annotations:
testgrid-dashboards: cert-manager-testing-janitors
testgrid-alert-email: [email protected]
description: Marks PRs and issues that have been inactive for 30d as 'stale'
description: Marks PRs and issues that have been inactive for 1y as 'stale'
labels:
preset-deployer-github-token: "true"
spec:
Expand All @@ -84,12 +84,12 @@ periodics:
-label:lifecycle/frozen
-label:lifecycle/stale
-label:lifecycle/rotten
- --updated=2160h
- --updated=8760h # 1 year
- --token=/etc/github/token
- |-
--comment=Issues go stale after 90d of inactivity.
--comment=Issues go stale after 1y of inactivity.
Mark the issue as fresh with `/remove-lifecycle stale`.
Stale issues rot after an additional 30d of inactivity and eventually close.
Stale issues rot after an additional 6m of inactivity and eventually close.
If this issue is safe to close now please do so with `/close`.
/lifecycle stale
- --ceiling=10
Expand Down