k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/sig-k8s-infra/trusted/sig-contribex-k8s-triage-robot.yaml (about)

     1  # this file should contain all periodic jobs that use the k8s-triage-robot token
     2  periodics:
     3  - name: ci-k8s-triage-robot
     4    interval: 1h
     5    cluster: k8s-infra-prow-build-trusted
     6    decorate: true
     7    annotations:
     8      testgrid-dashboards: sig-contribex-k8s-triage-robot
     9      description: Adds API review process description to kind/api-change PRs
    10      testgrid-tab-name: api-review-help
    11    spec:
    12      containers:
    13      - image: gcr.io/k8s-prow/commenter:v20240513-a9bd71bf01
    14        command:
    15        - commenter
    16        args:
    17        # pull requests against master branches in the kubernetes org labeled kind/api-change
    18        # exclude PRs that are in progress, held, or need rebase (typically aren't ready for API review).
    19        # exclude PRs already labeled api-review or tracked in the API review project
    20        # exclude PRs that already have the comment text
    21        - |-
    22          --query=org:kubernetes
    23          is:pr
    24          base:master
    25          label:kind/api-change
    26          -label:do-not-merge/work-in-progress
    27          -label:do-not-merge/hold
    28          -label:needs-rebase
    29          -label:api-review
    30          -project:kubernetes/169
    31          NOT "complete the pre-review checklist and request an API review"
    32        - --updated=5m
    33        - --token=/etc/github-token/token
    34        - --endpoint=http://ghproxy.default.svc.cluster.local
    35        - |-
    36          --comment=This PR [may require API review](https://git.k8s.io/community/sig-architecture/api-review-process.md#what-apis-need-to-be-reviewed).
    37  
    38          If so, when the changes are ready, [complete the pre-review checklist and request an API review](https://git.k8s.io/community/sig-architecture/api-review-process.md#mechanics).
    39  
    40          Status of requested reviews is tracked in the [API Review project](https://github.com/orgs/kubernetes/projects/169).
    41        - --ceiling=10
    42        - --confirm
    43        volumeMounts:
    44        - name: token
    45          mountPath: /etc/github-token
    46      volumes:
    47      - name: token
    48        secret:
    49          secretName: k8s-triage-robot-github-token
    50  
    51  - name: ci-k8s-triage-robot-stable-metrics
    52    interval: 1h
    53    cluster: k8s-infra-prow-build-trusted
    54    decorate: true
    55    annotations:
    56      testgrid-dashboards: sig-contribex-k8s-triage-robot
    57      description: Adds stable metrics review documentation to area/stable-metrics PRs
    58      testgrid-tab-name: stable-metrics-help
    59    spec:
    60      containers:
    61      - image: gcr.io/k8s-prow/commenter:v20240513-a9bd71bf01
    62        command:
    63        - commenter
    64        args:
    65        # pull requests against master branches in the kubernetes org labeled area/stable-metrics
    66        # exclude PRs that already have the comment text
    67        - |-
    68          --query=org:kubernetes
    69          is:pr
    70          base:master
    71          label:area/stable-metrics
    72          NOT "documentation for the requirements and lifecycle of stable metrics"
    73        - --updated=5m
    74        - --token=/etc/github-token/token
    75        - --endpoint=http://ghproxy.default.svc.cluster.local
    76        - |-
    77          --comment=This PR [may require stable metrics review](https://git.k8s.io/community/contributors/devel/sig-instrumentation/metric-stability.md).
    78  
    79          Stable metrics are guaranteed to **not change**. Please review the documentation for the requirements and lifecycle of stable metrics and ensure that your metrics meet these guidelines.
    80        - --ceiling=10
    81        - --confirm
    82        volumeMounts:
    83        - name: token
    84          mountPath: /etc/github-token
    85      volumes:
    86      - name: token
    87        secret:
    88          secretName: k8s-triage-robot-github-token
    89  
    90  - name: ci-k8s-triage-robot-cla
    91    # TODO(MadhavJivrajani): See if this can be left at 24h or restored to 10m.
    92    interval: 24h
    93    cluster: k8s-infra-prow-build-trusted
    94    decorate: true
    95    annotations:
    96      testgrid-dashboards: sig-contribex-k8s-triage-robot
    97      description: A sample job to make sure things work
    98      testgrid-tab-name: cla
    99    spec:
   100      containers:
   101      - image: gcr.io/k8s-prow/commenter:v20240513-a9bd71bf01
   102        command:
   103        - commenter
   104        args:
   105        - |-
   106          --query=org:kubernetes
   107          org:kubernetes-sigs
   108          org:kubernetes-client
   109          org:kubernetes-csi
   110          is:pr
   111          is:open
   112          -label:"cncf-cla: no"
   113          -label:"cncf-cla: yes"
   114        - --token=/etc/github-token/token
   115        - --endpoint=http://ghproxy.default.svc.cluster.local
   116        - |-
   117          --comment=Unknown CLA label state. Rechecking for CLA labels.
   118  
   119          Send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community).
   120  
   121          /check-cla
   122          /easycla
   123        - --template
   124        - --ceiling=10
   125        - --confirm
   126        volumeMounts:
   127        - name: token
   128          mountPath: /etc/github-token
   129      volumes:
   130      - name: token
   131        secret:
   132          secretName: k8s-triage-robot-github-token
   133  
   134  - name: ci-k8s-triage-robot-close-issues
   135    interval: 1h
   136    cluster: k8s-infra-prow-build-trusted
   137    decorate: true
   138    annotations:
   139      testgrid-dashboards: sig-contribex-k8s-triage-robot
   140      description: Closes rotten issues after 30d of inactivity
   141      testgrid-tab-name: close-issues
   142    spec:
   143      containers:
   144      - image: gcr.io/k8s-prow/commenter:v20240513-a9bd71bf01
   145        command:
   146        - commenter
   147        args:
   148        - |-
   149          --query=org:kubernetes
   150          org:kubernetes-sigs
   151          org:kubernetes-client
   152          org:kubernetes-csi
   153          is:issue
   154          -repo:kubernetes-sigs/kind
   155          -repo:kubernetes/kubectl
   156          -repo:kubernetes/steering
   157          -label:lifecycle/frozen
   158          -label:"help wanted"
   159          -label:"good first issue"
   160          -label:triage/accepted
   161          -label:priority/critical-urgent,priority/important-soon,priority/important-longterm
   162          label:lifecycle/rotten
   163        - --updated=720h
   164        - --token=/etc/github-token/token
   165        - --endpoint=http://ghproxy.default.svc.cluster.local
   166        - |-
   167          --comment=The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
   168  
   169          This bot triages issues according to the following rules:
   170          - After 90d of inactivity, `lifecycle/stale` is applied
   171          - After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied
   172          - After 30d of inactivity since `lifecycle/rotten` was applied, the issue is closed
   173  
   174          You can:
   175          - Reopen this issue with `/reopen`
   176          - Mark this issue as fresh with `/remove-lifecycle rotten`
   177          - Offer to help out with [Issue Triage][1]
   178  
   179          Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community).
   180  
   181          /close not-planned
   182  
   183          [1]: https://www.kubernetes.dev/docs/guide/issue-triage/
   184        - --template
   185        - --ceiling=10
   186        - --confirm
   187        volumeMounts:
   188        - name: token
   189          mountPath: /etc/github-token
   190      volumes:
   191      - name: token
   192        secret:
   193          secretName: k8s-triage-robot-github-token
   194  
   195  - name: ci-k8s-triage-robot-close-prs
   196    interval: 1h
   197    cluster: k8s-infra-prow-build-trusted
   198    decorate: true
   199    annotations:
   200      testgrid-dashboards: sig-contribex-k8s-triage-robot
   201      description: Closes rotten PRs after 30d of inactivity
   202      testgrid-tab-name: close-prs
   203    spec:
   204      containers:
   205      - image: gcr.io/k8s-prow/commenter:v20240513-a9bd71bf01
   206        command:
   207        - commenter
   208        args:
   209        - |-
   210          --query=org:kubernetes
   211          org:kubernetes-sigs
   212          org:kubernetes-client
   213          org:kubernetes-csi
   214          is:pr
   215          -repo:kubernetes-sigs/kind
   216          -repo:kubernetes/ingress-nginx
   217          -repo:kubernetes/steering
   218          -label:lifecycle/frozen
   219          label:lifecycle/rotten
   220        - --updated=720h
   221        - --token=/etc/github-token/token
   222        - --endpoint=http://ghproxy.default.svc.cluster.local
   223        - |-
   224          --comment=The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
   225  
   226          This bot triages PRs according to the following rules:
   227          - After 90d of inactivity, `lifecycle/stale` is applied
   228          - After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied
   229          - After 30d of inactivity since `lifecycle/rotten` was applied, the PR is closed
   230  
   231          You can:
   232          - Reopen this PR with `/reopen`
   233          - Mark this PR as fresh with `/remove-lifecycle rotten`
   234          - Offer to help out with [Issue Triage][1]
   235  
   236          Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community).
   237  
   238          /close
   239  
   240          [1]: https://www.kubernetes.dev/docs/guide/issue-triage/
   241        - --template
   242        - --ceiling=10
   243        - --confirm
   244        volumeMounts:
   245        - name: token
   246          mountPath: /etc/github-token
   247      volumes:
   248      - name: token
   249        secret:
   250          secretName: k8s-triage-robot-github-token
   251  
   252  - name: ci-k8s-triage-robot-retester
   253    interval: 20m  # Retest at most 1 PR per 20m, which should not DOS the queue.
   254    cluster: k8s-infra-prow-build-trusted
   255    decorate: true
   256    annotations:
   257      testgrid-dashboards: sig-contribex-k8s-triage-robot
   258      testgrid-tab-name: retester
   259      description: Automatically /retest for approved PRs that are failing tests
   260    spec:
   261      containers:
   262      - image: gcr.io/k8s-prow/commenter:v20240513-a9bd71bf01
   263        command:
   264        - commenter
   265        args:
   266        - |-
   267          --query=is:pr
   268          -label:do-not-merge
   269          -label:do-not-merge/blocked-paths
   270          -label:do-not-merge/cherry-pick-not-approved
   271          -label:do-not-merge/contains-merge-commits
   272          -label:do-not-merge/hold
   273          -label:do-not-merge/invalid-commit-message
   274          -label:do-not-merge/invalid-owners-file
   275          -label:do-not-merge/needs-sig
   276          -label:do-not-merge/needs-kind
   277          -label:do-not-merge/release-note-label-needed
   278          -label:do-not-merge/work-in-progress
   279          label:lgtm
   280          label:approved
   281          label:"cncf-cla: yes"
   282          status:failure
   283          -label:needs-rebase
   284          -label:needs-ok-to-test
   285          -label:"cncf-cla: no"
   286          repo:kubernetes/kops
   287          repo:kubernetes/kubernetes
   288          repo:kubernetes/test-infra
   289        - --token=/etc/github-token/token
   290        - --endpoint=http://ghproxy.default.svc.cluster.local
   291        - |-
   292          --comment=The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass.
   293  
   294          This bot retests PRs for certain kubernetes repos according to the following rules:
   295          - The PR does have any `do-not-merge/*` labels
   296          - The PR does not have the `needs-ok-to-test` label
   297          - The PR is mergeable (does not have a `needs-rebase` label)
   298          - The PR is approved (has `cncf-cla: yes`, `lgtm`, `approved` labels)
   299          - The PR is failing tests required for merge
   300  
   301          You can:
   302          - Review the [full test history](https://prow.k8s.io/pr-history/?org={{.Org}}&repo={{.Repo}}&pr={{.Number}}) for this PR
   303          - Prevent this bot from retesting with `/lgtm cancel` or `/hold`
   304          - Help make our tests less flaky by following our [Flaky Tests Guide][1]
   305  
   306          /retest
   307  
   308          [1]: https://git.k8s.io/community/contributors/devel/sig-testing/flaky-tests.md
   309        - --template
   310        - --ceiling=1
   311        - --confirm
   312        volumeMounts:
   313        - name: token
   314          mountPath: /etc/github-token
   315      volumes:
   316      - name: token
   317        secret:
   318          secretName: k8s-triage-robot-github-token
   319  
   320  - name: ci-k8s-triage-robot-rotten-issues
   321    interval: 1h
   322    cluster: k8s-infra-prow-build-trusted
   323    decorate: true
   324    annotations:
   325      testgrid-dashboards: sig-contribex-k8s-triage-robot
   326      description: Adds lifecycle/rotten to stale issues after 30d of inactivity
   327      testgrid-tab-name: rotten-issues
   328    spec:
   329      containers:
   330      - image: gcr.io/k8s-prow/commenter:v20240513-a9bd71bf01
   331        command:
   332        - commenter
   333        args:
   334        - |-
   335          --query=org:kubernetes
   336          org:kubernetes-sigs
   337          org:kubernetes-client
   338          org:kubernetes-csi
   339          is:issue
   340          -repo:kubernetes-sigs/kind
   341          -repo:kubernetes/ingress-nginx
   342          -repo:kubernetes/steering
   343          -label:lifecycle/frozen
   344          -label:lifecycle/rotten
   345          -label:"help wanted"
   346          -label:"good first issue"
   347          -label:"triage/accepted"
   348          label:lifecycle/stale
   349        - --updated=720h
   350        - --token=/etc/github-token/token
   351        - --endpoint=http://ghproxy.default.svc.cluster.local
   352        - |-
   353          --comment=The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
   354  
   355          This bot triages un-triaged issues according to the following rules:
   356          - After 90d of inactivity, `lifecycle/stale` is applied
   357          - After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied
   358          - After 30d of inactivity since `lifecycle/rotten` was applied, the issue is closed
   359  
   360          You can:
   361          - Mark this issue as fresh with `/remove-lifecycle rotten`
   362          - Close this issue with `/close`
   363          - Offer to help out with [Issue Triage][1]
   364  
   365          Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community).
   366  
   367          /lifecycle rotten
   368  
   369          [1]: https://www.kubernetes.dev/docs/guide/issue-triage/
   370        - --template
   371        - --ceiling=10
   372        - --confirm
   373        volumeMounts:
   374        - name: token
   375          mountPath: /etc/github-token
   376      volumes:
   377      - name: token
   378        secret:
   379          secretName: k8s-triage-robot-github-token
   380  
   381  - name: ci-k8s-triage-robot-rotten-prs
   382    interval: 1h
   383    cluster: k8s-infra-prow-build-trusted
   384    decorate: true
   385    annotations:
   386      testgrid-dashboards: sig-contribex-k8s-triage-robot
   387      description: Adds lifecycle/rotten to stale PRs after 30d of inactivity
   388      testgrid-tab-name: rotten-prs
   389    spec:
   390      containers:
   391      - image: gcr.io/k8s-prow/commenter:v20240513-a9bd71bf01
   392        command:
   393        - commenter
   394        args:
   395        - |-
   396          --query=org:kubernetes
   397          org:kubernetes-sigs
   398          org:kubernetes-client
   399          org:kubernetes-csi
   400          is:pr
   401          -repo:kubernetes-sigs/kind
   402          -repo:kubernetes/ingress-nginx
   403          -repo:kubernetes/steering
   404          -label:lifecycle/frozen
   405          -label:lifecycle/rotten
   406          label:lifecycle/stale
   407        - --updated=720h
   408        - --token=/etc/github-token/token
   409        - --endpoint=http://ghproxy.default.svc.cluster.local
   410        - |-
   411          --comment=The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs.
   412  
   413          This bot triages PRs according to the following rules:
   414          - After 90d of inactivity, `lifecycle/stale` is applied
   415          - After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied
   416          - After 30d of inactivity since `lifecycle/rotten` was applied, the PR is closed
   417  
   418          You can:
   419          - Mark this PR as fresh with `/remove-lifecycle rotten`
   420          - Close this PR with `/close`
   421          - Offer to help out with [Issue Triage][1]
   422  
   423          Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community).
   424  
   425          /lifecycle rotten
   426  
   427          [1]: https://www.kubernetes.dev/docs/guide/issue-triage/
   428        - --template
   429        - --ceiling=10
   430        - --confirm
   431        volumeMounts:
   432        - name: token
   433          mountPath: /etc/github-token
   434      volumes:
   435      - name: token
   436        secret:
   437          secretName: k8s-triage-robot-github-token
   438  
   439  - name: ci-k8s-triage-robot-stale-issues
   440    interval: 1h
   441    cluster: k8s-infra-prow-build-trusted
   442    decorate: true
   443    annotations:
   444      testgrid-dashboards: sig-contribex-k8s-triage-robot
   445      description: Adds lifecycle/stale to issues after 90d of inactivity
   446      testgrid-tab-name: stale-issues
   447    spec:
   448      containers:
   449      - image: gcr.io/k8s-prow/commenter:v20240513-a9bd71bf01
   450        command:
   451        - commenter
   452        args:
   453        - |-
   454          --query=org:kubernetes
   455          org:kubernetes-sigs
   456          org:kubernetes-client
   457          org:kubernetes-csi
   458          is:issue
   459          -repo:kubernetes-sigs/kind
   460          -repo:kubernetes/ingress-nginx
   461          -repo:kubernetes/steering
   462          -label:lifecycle/frozen
   463          -label:lifecycle/stale
   464          -label:lifecycle/rotten
   465          -label:"help wanted"
   466          -label:"good first issue"
   467          -label:"triage/accepted"
   468        - --updated=2160h
   469        - --token=/etc/github-token/token
   470        - --endpoint=http://ghproxy.default.svc.cluster.local
   471        - |-
   472          --comment=The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
   473  
   474          This bot triages un-triaged issues according to the following rules:
   475          - After 90d of inactivity, `lifecycle/stale` is applied
   476          - After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied
   477          - After 30d of inactivity since `lifecycle/rotten` was applied, the issue is closed
   478  
   479          You can:
   480          - Mark this issue as fresh with `/remove-lifecycle stale`
   481          - Close this issue with `/close`
   482          - Offer to help out with [Issue Triage][1]
   483  
   484          Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community).
   485  
   486          /lifecycle stale
   487  
   488          [1]: https://www.kubernetes.dev/docs/guide/issue-triage/
   489        - --template
   490        - --ceiling=10
   491        - --confirm
   492        volumeMounts:
   493        - name: token
   494          mountPath: /etc/github-token
   495      volumes:
   496      - name: token
   497        secret:
   498          secretName: k8s-triage-robot-github-token
   499  
   500  - name: ci-k8s-triage-robot-stale-prs
   501    interval: 1h
   502    cluster: k8s-infra-prow-build-trusted
   503    decorate: true
   504    annotations:
   505      testgrid-dashboards: sig-contribex-k8s-triage-robot
   506      description: Adds lifecycle/stale to PRs after 90d of inactivity
   507      testgrid-tab-name: stale-prs
   508    spec:
   509      containers:
   510      - image: gcr.io/k8s-prow/commenter:v20240513-a9bd71bf01
   511        command:
   512        - commenter
   513        args:
   514        - |-
   515          --query=org:kubernetes
   516          org:kubernetes-sigs
   517          org:kubernetes-client
   518          org:kubernetes-csi
   519          is:pr
   520          -repo:kubernetes-sigs/kind
   521          -repo:kubernetes/ingress-nginx
   522          -repo:kubernetes/steering
   523          -label:lifecycle/frozen
   524          -label:lifecycle/stale
   525          -label:lifecycle/rotten
   526        - --updated=2160h
   527        - --token=/etc/github-token/token
   528        - --endpoint=http://ghproxy.default.svc.cluster.local
   529        - |-
   530          --comment=The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.
   531  
   532          This bot triages PRs according to the following rules:
   533          - After 90d of inactivity, `lifecycle/stale` is applied
   534          - After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied
   535          - After 30d of inactivity since `lifecycle/rotten` was applied, the PR is closed
   536  
   537          You can:
   538          - Mark this PR as fresh with `/remove-lifecycle stale`
   539          - Close this PR with `/close`
   540          - Offer to help out with [Issue Triage][1]
   541  
   542          Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community).
   543  
   544          /lifecycle stale
   545  
   546          [1]: https://www.kubernetes.dev/docs/guide/issue-triage/
   547        - --template
   548        - --ceiling=10
   549        - --confirm
   550        volumeMounts:
   551        - name: token
   552          mountPath: /etc/github-token
   553      volumes:
   554      - name: token
   555        secret:
   556          secretName: k8s-triage-robot-github-token
   557  
   558  - name: ci-k8s-triage-robot-thaw-prs
   559    interval: 1h
   560    cluster: k8s-infra-prow-build-trusted
   561    decorate: true
   562    annotations:
   563      testgrid-dashboards: sig-contribex-k8s-triage-robot
   564      description: Removes lifecycle/frozen from PRs
   565      testgrid-tab-name: thaw-prs
   566    spec:
   567      containers:
   568      - image: gcr.io/k8s-prow/commenter:v20240513-a9bd71bf01
   569        command:
   570        - commenter
   571        args:
   572        - |-
   573          --query=org:kubernetes
   574          org:kubernetes-sigs
   575          org:kubernetes-client
   576          org:kubernetes-csi
   577          label:lifecycle/frozen
   578          is:pr
   579        - --token=/etc/github-token/token
   580        - --endpoint=http://ghproxy.default.svc.cluster.local
   581        - |-
   582          --comment=The `lifecycle/frozen` label can not be applied to PRs.
   583  
   584          This bot removes `lifecycle/frozen` from PRs because:
   585          - Commenting `/lifecycle frozen` on a PR has not worked since March 2021
   586          - PRs that remain open for >150 days are unlikely to be easily rebased
   587  
   588          You can:
   589          - Rebase this PR and attempt to get it merged
   590          - Close this PR with `/close`
   591  
   592          Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community).
   593  
   594          /remove-lifecycle frozen
   595        - --template
   596        - --ceiling=10
   597        - --confirm
   598        volumeMounts:
   599        - name: token
   600          mountPath: /etc/github-token
   601      volumes:
   602      - name: token
   603        secret:
   604          secretName: k8s-triage-robot-github-token
   605  
   606  - name: ci-k8s-triage-robot-retriage
   607    interval: 1h
   608    cluster: k8s-infra-prow-build-trusted
   609    decorate: true
   610    annotations:
   611      testgrid-dashboards: sig-contribex-k8s-triage-robot
   612      description: Removes the triage/accepted label after 1 year of inactivity
   613      testgrid-tab-name: re-triage
   614    spec:
   615      containers:
   616      - image: gcr.io/k8s-prow/commenter:v20240513-a9bd71bf01
   617        command:
   618        - commenter
   619        args:
   620        - |-
   621          --query=org:kubernetes
   622          org:kubernetes-sigs
   623          org:kubernetes-client
   624          org:kubernetes-csi
   625          -repo:kubernetes-sigs/kind
   626          -repo:kubernetes/steering
   627          label:triage/accepted
   628          -label:priority/important-soon
   629          -label:priority/critical-urgent
   630          is:issue
   631        - --updated=8760h
   632        - --token=/etc/github-token/token
   633        - --endpoint=http://ghproxy.default.svc.cluster.local
   634        - |-
   635          --comment=This issue has not been updated in over 1 year, and should be re-triaged.
   636  
   637          You can:
   638          - Confirm that this issue is still relevant with `/triage accepted` (org members only)
   639          - Close this issue with `/close`
   640  
   641          For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/
   642  
   643          /remove-triage accepted
   644        - --template
   645        - --ceiling=10
   646        - --confirm
   647        volumeMounts:
   648        - name: token
   649          mountPath: /etc/github-token
   650      volumes:
   651      - name: token
   652        secret:
   653          secretName: k8s-triage-robot-github-token
   654  
   655  - name: ci-k8s-triage-robot-retriage-important
   656    interval: 1h
   657    cluster: k8s-infra-prow-build-trusted
   658    decorate: true
   659    annotations:
   660      testgrid-dashboards: sig-contribex-k8s-triage-robot
   661      description: Removes the triage/accepted label on important issues after 3 months of inactivity
   662      testgrid-tab-name: re-triage-important
   663    spec:
   664      containers:
   665      - image: gcr.io/k8s-prow/commenter:v20240513-a9bd71bf01
   666        command:
   667        - commenter
   668        args:
   669        - |-
   670          --query=org:kubernetes
   671          org:kubernetes-sigs
   672          org:kubernetes-client
   673          org:kubernetes-csi
   674          -repo:kubernetes-sigs/kind
   675          -repo:kubernetes/steering
   676          label:triage/accepted
   677          label:priority/important-soon
   678          is:issue
   679        - --updated=2160h
   680        - --token=/etc/github-token/token
   681        - --endpoint=http://ghproxy.default.svc.cluster.local
   682        - |-
   683          --comment=This issue is labeled with `priority/important-soon` but has not been updated in over 90 days, and should be re-triaged.
   684          Important-soon issues must be staffed and worked on either currently, or very soon, ideally in time for the next release.
   685  
   686          You can:
   687          - Confirm that this issue is still relevant with `/triage accepted` (org members only)
   688          - Deprioritize it with `/priority important-longterm` or `/priority backlog`
   689          - Close this issue with `/close`
   690  
   691          For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/
   692  
   693          /remove-triage accepted
   694        - --template
   695        - --ceiling=10
   696        - --confirm
   697        volumeMounts:
   698        - name: token
   699          mountPath: /etc/github-token
   700      volumes:
   701      - name: token
   702        secret:
   703          secretName: k8s-triage-robot-github-token
   704  
   705  - name: ci-k8s-triage-robot-retriage-critical
   706    interval: 1h
   707    cluster: k8s-infra-prow-build-trusted
   708    decorate: true
   709    annotations:
   710      testgrid-dashboards: sig-contribex-k8s-triage-robot
   711      description: Removes the triage/accepted label on critical issues after 1 month of inactivity
   712      testgrid-tab-name: re-triage-critical
   713    spec:
   714      containers:
   715      - image: gcr.io/k8s-prow/commenter:v20240513-a9bd71bf01
   716        command:
   717        - commenter
   718        args:
   719        - |-
   720          --query=org:kubernetes
   721          org:kubernetes-sigs
   722          org:kubernetes-client
   723          org:kubernetes-csi
   724          -repo:kubernetes-sigs/kind
   725          -repo:kubernetes/steering
   726          label:triage/accepted
   727          label:priority/critical-urgent
   728          is:issue
   729        - --updated=720h
   730        - --token=/etc/github-token/token
   731        - --endpoint=http://ghproxy.default.svc.cluster.local
   732        - |-
   733          --comment=This issue is labeled with `priority/critical-urgent` but has not been updated in over 30 days, and should be re-triaged.
   734          Critical-urgent issues must be actively worked on as someone's top priority right now.
   735  
   736          You can:
   737          - Confirm that this issue is still relevant with `/triage accepted` (org members only)
   738          - Deprioritize it with `/priority {important-soon, important-longterm, backlog}`
   739          - Close this issue with `/close`
   740  
   741          For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/
   742  
   743          /remove-triage accepted
   744        - --template
   745        - --ceiling=10
   746        - --confirm
   747        volumeMounts:
   748        - name: token
   749          mountPath: /etc/github-token
   750      volumes:
   751      - name: token
   752        secret:
   753          secretName: k8s-triage-robot-github-token
   754  
   755  - name: issue-creator
   756    interval: 24h
   757    cluster: k8s-infra-prow-build-trusted
   758    labels:
   759      preset-service-account: "true"
   760    decorate: true
   761    annotations:
   762      testgrid-dashboards: sig-contribex-k8s-triage-robot
   763      description: Creates github issues based on data from various 'IssueSource's.
   764    spec:
   765      containers:
   766      - image: gcr.io/k8s-prow/issue-creator:v20240513-a9bd71bf01
   767        command:
   768        - issue-creator
   769        args:
   770        - --dry-run=false
   771        - --alsologtostderr
   772        - --org=kubernetes
   773        - --project=kubernetes
   774        - --token-file=/etc/github-token/token
   775        - --triage-window=1
   776        - --triage-count=10
   777        - --flakyjob-count=3
   778        volumeMounts:
   779        - name: token
   780          mountPath: /etc/github-token
   781      volumes:
   782      - name: token
   783        secret:
   784          secretName: k8s-triage-robot-github-token
   785  
   786  # periodically file / close bugs for repos based on presence of SECURITY_CONTACTS
   787  - name: secping
   788    interval: 24h
   789    cluster: k8s-infra-prow-build-trusted
   790    decorate: true
   791    annotations:
   792      testgrid-dashboards: sig-contribex-k8s-triage-robot
   793      description: files bugs for SECURITY_CONTACTS
   794      testgrid-tab-name: secping
   795    extra_refs:
   796    - base_ref: main
   797      org: justaugustus
   798      repo: secping
   799    spec:
   800      containers:
   801      - command:
   802        - go
   803        - run
   804        - .
   805        - -d
   806        - --confirm
   807        - --token-path=/etc/github-token/token
   808        - --skip-emails
   809        env:
   810        - name: GO111MODULE
   811          value: "on"
   812        image: golang:latest
   813        volumeMounts:
   814        - name: token
   815          mountPath: /etc/github-token
   816      volumes:
   817      - name: token
   818        secret:
   819          secretName: k8s-triage-robot-github-token