metadata:
  annotations:
    description: Adds lifecycle/stale to PRs after 30d of inactivity.
    prow.k8s.io/context: ""
    prow.k8s.io/job: ci-scylla-operator-triage-robot-stale-prs
  creationTimestamp: "2025-04-03T11:17:30Z"
  generation: 7
  labels:
    created-by-prow: "true"
    prow.k8s.io/build-id: "1907754328223911936"
    prow.k8s.io/context: ""
    prow.k8s.io/id: 307c95e4-5cd0-4888-8102-638cd8fd5f3e
    prow.k8s.io/job: ci-scylla-operator-triage-robot-stale-prs
    prow.k8s.io/type: periodic
  name: 307c95e4-5cd0-4888-8102-638cd8fd5f3e
  namespace: prow-workspace
  resourceVersion: "617266451"
  uid: 1edce333-6eaf-448a-8559-f09859fc0946
spec:
  agent: kubernetes
  cluster: default
  decoration_config:
    gcs_configuration:
      bucket: gs://scylla-operator-prow
      path_strategy: explicit
    gcs_credentials_secret: gcs-credentials
    github_api_endpoints:
    - http://ghproxy.prow.svc
    - https://api.github.com
    github_app_id: "112385"
    github_app_private_key_secret:
      key: cert
      name: github-token
    grace_period: 15m0s
    resources:
      clonerefs:
        requests:
          cpu: 100m
      initupload:
        requests:
          cpu: 100m
      place_entrypoint:
        requests:
          cpu: 100m
      sidecar:
        requests:
          cpu: 100m
    timeout: 2h0m0s
    utility_images:
      clonerefs: us-docker.pkg.dev/k8s-infra-prow/images/clonerefs:v20240802-66b115076
      entrypoint: us-docker.pkg.dev/k8s-infra-prow/images/entrypoint:v20240802-66b115076
      initupload: us-docker.pkg.dev/k8s-infra-prow/images/initupload:v20240802-66b115076
      sidecar: us-docker.pkg.dev/k8s-infra-prow/images/sidecar:v20240802-66b115076
  job: ci-scylla-operator-triage-robot-stale-prs
  namespace: prow-workspace
  pod_spec:
    containers:
    - args:
      - |-
        --query=repo:scylladb/scylla-operator
        repo:scylladb/scylla-operator-images
        repo:scylladb/scylla-operator-release
        repo:scylladb/scylla-operator-ci-tools
        repo:scylladb/local-csi-driver
        is:pr
        -label:"lifecycle/stale"
        -label:"lifecycle/frozen"
        -label:"lifecycle/rotten"
      - --updated=720h
      - --github-endpoint=http://ghproxy.prow.svc
      - --github-endpoint=https://api.github.com
      - --github-app-id=$(GITHUB_APP_ID)
      - --github-app-private-key-path=/etc/github2/cert
      - --org=scylladb
      - |-
        --comment=The Scylla Operator project currently lacks enough contributors to adequately respond to all PRs.

        This bot triages PRs according to the following rules:
        - After 30d 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

        /lifecycle stale
      - --template
      - --ceiling=10
      - --confirm=true
      command:
      - commenter
      env:
      - name: GITHUB_APP_ID
        valueFrom:
          secretKeyRef:
            key: appid
            name: github-token
      image: quay.io/tnozicka/commenter:github-app-auth@sha256:1873cedded66b74eb4d8fe8b12556d5f4efdbb039959d45dddb7d1a85f5fe2ad
      name: ""
      resources: {}
      securityContext:
        allowPrivilegeEscalation: false
        capabilities:
          drop:
          - ALL
        runAsGroup: 4242
        runAsNonRoot: true
        runAsUser: 4242
        seccompProfile:
          type: RuntimeDefault
      volumeMounts:
      - mountPath: /etc/github2
        name: github-token-2
        readOnly: true
    volumes:
    - name: github-token-2
      secret:
        secretName: github-token
  prowjob_defaults:
    tenant_id: GlobalDefaultID
  report: true
  type: periodic
status:
  build_id: "1907754328223911936"
  completionTime: "2025-04-03T11:17:37Z"
  description: Job succeeded.
  pendingTime: "2025-04-03T11:17:30Z"
  pod_name: 307c95e4-5cd0-4888-8102-638cd8fd5f3e
  prev_report_states:
    gcsk8sreporter: success
    gcsreporter: success
  startTime: "2025-04-03T11:17:30Z"
  state: success
  url: https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/logs/ci-scylla-operator-triage-robot-stale-prs/1907754328223911936