Skip to content

Commit

Permalink
Don't apply triage rules to PR lifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
tallclair committed Jan 18, 2023
1 parent e20f1d3 commit f3688ec
Showing 1 changed file with 127 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,14 +312,14 @@ periodics:
secret:
secretName: k8s-triage-robot-github-token

- name: ci-k8s-triage-robot-rotten
- name: ci-k8s-triage-robot-rotten-issues
interval: 1h
cluster: k8s-infra-prow-build-trusted
decorate: true
annotations:
testgrid-dashboards: sig-contribex-k8s-triage-robot
description: Adds lifecycle/rotten to stale issues after 30d of inactivity
testgrid-tab-name: rotten
testgrid-tab-name: rotten-issues
spec:
containers:
- image: gcr.io/k8s-prow/commenter:v20230116-d4a02a2181
Expand All @@ -331,6 +331,7 @@ periodics:
org:kubernetes-sigs
org:kubernetes-client
org:kubernetes-csi
is:issue
-repo:kubernetes-sigs/kind
-repo:kubernetes/ingress-nginx
-label:lifecycle/frozen
Expand All @@ -343,16 +344,73 @@ periodics:
- --token=/etc/github-token/token
- --endpoint=http://ghproxy.default.svc.cluster.local
- |-
--comment=The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
--comment=The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages issues and PRs according to the following rules:
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity, `lifecycle/stale` is applied
- After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied
- After 30d of inactivity since `lifecycle/rotten` was applied, the issue is closed
You can:
- Mark this issue or PR as fresh with `/remove-lifecycle rotten`
- Close this issue or PR with `/close`
- Mark this issue as fresh with `/remove-lifecycle rotten`
- Close this issue with `/close`
- Offer to help out with [Issue Triage][1]
Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community).
/lifecycle rotten
[1]: https://www.kubernetes.dev/docs/guide/issue-triage/
- --template
- --ceiling=10
- --confirm
volumeMounts:
- name: token
mountPath: /etc/github-token
volumes:
- name: token
secret:
secretName: k8s-triage-robot-github-token

- name: ci-k8s-triage-robot-rotten-prs
interval: 1h
cluster: k8s-infra-prow-build-trusted
decorate: true
annotations:
testgrid-dashboards: sig-contribex-k8s-triage-robot
description: Adds lifecycle/rotten to stale PRs after 30d of inactivity
testgrid-tab-name: rotten-prs
spec:
containers:
- image: gcr.io/k8s-prow/commenter:v20230116-d4a02a2181
command:
- commenter
args:
- |-
--query=org:kubernetes
org:kubernetes-sigs
org:kubernetes-client
org:kubernetes-csi
is:pr
-repo:kubernetes-sigs/kind
-repo:kubernetes/ingress-nginx
-label:lifecycle/frozen
-label:lifecycle/rotten
label:lifecycle/stale
- --updated=720h
- --token=/etc/github-token/token
- --endpoint=http://ghproxy.default.svc.cluster.local
- |-
--comment=The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs.
This bot triages PRs according to the following rules:
- After 90d of inactivity, `lifecycle/stale` is applied
- After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied
- After 30d of inactivity since `lifecycle/rotten` was applied, the PR is closed
You can:
- Mark this PR as fresh with `/remove-lifecycle rotten`
- Close this PR with `/close`
- Offer to help out with [Issue Triage][1]
Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community).
Expand All @@ -371,14 +429,14 @@ periodics:
secret:
secretName: k8s-triage-robot-github-token

- name: ci-k8s-triage-robot-stale
- name: ci-k8s-triage-robot-stale-issues
interval: 1h
cluster: k8s-infra-prow-build-trusted
decorate: true
annotations:
testgrid-dashboards: sig-contribex-k8s-triage-robot
description: Adds lifecycle/stale to issues after 90d of inactivity
testgrid-tab-name: stale
testgrid-tab-name: stale-issues
spec:
containers:
- image: gcr.io/k8s-prow/commenter:v20230116-d4a02a2181
Expand All @@ -390,6 +448,7 @@ periodics:
org:kubernetes-sigs
org:kubernetes-client
org:kubernetes-csi
is:issue
-repo:kubernetes-sigs/kind
-repo:kubernetes/ingress-nginx
-label:lifecycle/frozen
Expand All @@ -402,17 +461,72 @@ periodics:
- --token=/etc/github-token/token
- --endpoint=http://ghproxy.default.svc.cluster.local
- |-
--comment=The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
--comment=The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages issues and PRs according to the following rules:
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity, `lifecycle/stale` is applied
- After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied
- After 30d of inactivity since `lifecycle/rotten` was applied, the issue is closed
You can:
- Mark this issue or PR as fresh with `/remove-lifecycle stale`
- Mark this issue or PR as rotten with `/lifecycle rotten`
- Close this issue or PR with `/close`
- Mark this issue as fresh with `/remove-lifecycle stale`
- Close this issue with `/close`
- Offer to help out with [Issue Triage][1]
Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community).
/lifecycle stale
[1]: https://www.kubernetes.dev/docs/guide/issue-triage/
- --template
- --ceiling=10
- --confirm
volumeMounts:
- name: token
mountPath: /etc/github-token
volumes:
- name: token
secret:
secretName: k8s-triage-robot-github-token

- name: ci-k8s-triage-robot-stale-prs
interval: 1h
cluster: k8s-infra-prow-build-trusted
decorate: true
annotations:
testgrid-dashboards: sig-contribex-k8s-triage-robot
description: Adds lifecycle/stale to PRs after 90d of inactivity
testgrid-tab-name: stale-prs
spec:
containers:
- image: gcr.io/k8s-prow/commenter:v20230116-d4a02a2181
command:
- commenter
args:
- |-
--query=org:kubernetes
org:kubernetes-sigs
org:kubernetes-client
org:kubernetes-csi
-repo:kubernetes-sigs/kind
-repo:kubernetes/ingress-nginx
-label:lifecycle/frozen
-label:lifecycle/stale
-label:lifecycle/rotten
- --updated=2160h
- --token=/etc/github-token/token
- --endpoint=http://ghproxy.default.svc.cluster.local
- |-
--comment=The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.
This bot triages PRs according to the following rules:
- After 90d of inactivity, `lifecycle/stale` is applied
- After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied
- After 30d of inactivity since `lifecycle/rotten` was applied, the PR is closed
You can:
- Mark this PR as fresh with `/remove-lifecycle stale`
- Close this PR with `/close`
- Offer to help out with [Issue Triage][1]
Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community).
Expand Down

0 comments on commit f3688ec

Please sign in to comment.