{
  "slug": "applicationset-scm-generators-filter-archived-repositories-190a2a88c705",
  "title": "ApplicationSet SCM generators filter archived repositories",
  "tools": [
    "argocd"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-04T08:35:57.000Z",
  "announced_at": "2026-08-04T08:35:57.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When configuring an ApplicationSet SCM generator for GitHub or Gitea, set `excludeArchivedRepos: true` to exclude archived repositories; for GitLab, set `includeArchivedRepos: true` to include them. Both fields default to false.",
    "examples": [
      "apiVersion: argoproj.io/v1alpha1\nkind: ApplicationSet\nmetadata:\n  name: <appset-name>\nspec:\n  generators:\n    - scmProvider:\n        github:\n          organization: <github-organization>\n          excludeArchivedRepos: true",
      "apiVersion: argoproj.io/v1alpha1\nkind: ApplicationSet\nmetadata:\n  name: <appset-name>\nspec:\n  generators:\n    - scmProvider:\n        gitlab:\n          group: <gitlab-group-id-or-path>\n          includeArchivedRepos: true",
      "apiVersion: argoproj.io/v1alpha1\nkind: ApplicationSet\nmetadata:\n  name: <appset-name>\nspec:\n  generators:\n    - scmProvider:\n        gitea:\n          owner: <gitea-organization>\n          excludeArchivedRepos: true"
    ],
    "gotchas": [
      "Version: v3.5.0",
      "excludeArchivedRepos: Exclude archived repositories; defaults to false. Documented for GitHub and Gitea.",
      "includeArchivedRepos: Include archived repositories; defaults to false. Documented for GitLab.",
      "github.organization (required): Name of the GitHub organization to scan.",
      "gitlab.group (required): Name of the base GitLab group to scan; may be a group ID or full namespaced path.",
      "gitea.owner (required): Name of the Gitea organization to scan.",
      "The filter currently supports GitHub, GitLab, and Gitea.",
      "GitLab excludes archived repositories by default; its option allows archived repositories to be included."
    ]
  },
  "why_it_matters": "Configure an ApplicationSet SCM generator to include or exclude archived repositories.",
  "sources": [
    "https://github.com/argoproj/argo-cd/releases/tag/v3.5.0",
    "https://github.com/argoproj/argo-cd/pull/21505",
    "https://github.com/argoproj/argo-cd/blob/v3.5.0/docs/operator-manual/applicationset/Generators-SCM-Provider.md"
  ],
  "rank": 0.98018,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-656f1cd605543c63-2:gate",
    "evidence_hash": "07be7454f1632122a2ab9cf03b6223f667e5b8c46a3233bb371b89fc1a018727"
  },
  "review": {
    "draft_hash": "98a8bcd324fe53cd1d1eaf28caec1a071d34da1174714e3a6122ceb892d8cfd2",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.77 (>= 0.6 needed)."
  }
}
