Darkmatter · github-bot stage: prod
preview@internal.darkmatter
Events received
82278
Ignored
82234
Jobs dispatched
45

Event 9c57e800…

← All events

Event

Delivery
9c57e800-5f5d-11f1-933c-9130e3669cf2
Event
pull_request_review_thread
Action
resolved
Received
2026-06-03T15:05:09.826Z
Signature
valid
Parsed
yes
Sender
czxtm
Repo
darkmatter/infra
Status
ignored — unsupported_event

Headers

{
  "accept": "*/*",
  "accept-encoding": "gzip, br",
  "cf-connecting-ip": "140.82.115.57",
  "cf-ipcountry": "US",
  "cf-ray": "a05f982c5e93d6cf",
  "cf-visitor": "{\"scheme\":\"https\"}",
  "connection": "Keep-Alive",
  "content-length": "31809",
  "content-type": "application/json",
  "host": "github-bot.darkmatter.io",
  "user-agent": "GitHub-Hookshot/933e3d3",
  "x-forwarded-proto": "https",
  "x-github-delivery": "9c57e800-5f5d-11f1-933c-9130e3669cf2",
  "x-github-event": "pull_request_review_thread",
  "x-github-hook-id": "628737947",
  "x-github-hook-installation-target-id": "3663660",
  "x-github-hook-installation-target-type": "integration",
  "x-real-ip": "140.82.115.57"
}

Payload

{
  "action": "resolved",
  "pull_request": {
    "url": "https://api.github.com/repos/darkmatter/infra/pulls/21",
    "id": 3792104481,
    "node_id": "PR_kwDOPq3Cd87iBuwh",
    "html_url": "https://github.com/darkmatter/infra/pull/21",
    "diff_url": "https://github.com/darkmatter/infra/pull/21.diff",
    "patch_url": "https://github.com/darkmatter/infra/pull/21.patch",
    "issue_url": "https://api.github.com/repos/darkmatter/infra/issues/21",
    "number": 21,
    "state": "open",
    "locked": false,
    "title": "feat: autogenerate homepage dashboard config + gitops PR workflow",
    "user": {
      "login": "czxtm",
      "id": 1325802,
      "node_id": "MDQ6VXNlcjEzMjU4MDI=",
      "avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/czxtm",
      "html_url": "https://github.com/czxtm",
      "followers_url": "https://api.github.com/users/czxtm/followers",
      "following_url": "https://api.github.com/users/czxtm/following{/other_user}",
      "gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
      "organizations_url": "https://api.github.com/users/czxtm/orgs",
      "repos_url": "https://api.github.com/users/czxtm/repos",
      "events_url": "https://api.github.com/users/czxtm/events{/privacy}",
      "received_events_url": "https://api.github.com/users/czxtm/received_events",
      "type": "User",
      "user_view_type": "public",
      "site_admin": false
    },
    "body": "## What\n\nAutogenerates a [gethomepage/homepage](https://github.com/gethomepage/homepage) operator dashboard from the services in this repo **and** the k3s workloads in `darkmatter/gitops`, then ships it to the cluster.\n\nThe generator is a **third renderer** over the service single-source-of-truth — alongside `nix/apps/gatus.nix` (monitoring) and `nix/flake/apps/render-inventory-index.nix` (docs launcher). No parallel config to maintain.\n\n## Which layer\n\n`nix/` (flake app) + `.github/workflows/` (CI). The k8s manifests live in gitops — see the companion PR.\n\n## Changes\n\n| File | Change |\n|---|---|\n| `nix/flake/apps/render-homepage-config.nix` | **new** — generator (`writeShellApplication`) |\n| `nix/flake/apps.nix` | register `render-homepage-config` (x86_64-linux + aarch64-darwin) |\n| `config/service-catalog.nix` | additive optional `icon` field (+ one override); gatus/inventory consumers ignore it |\n| `.github/workflows/generate-homepage.yml` | **new** — regenerate + open PR on gitops via darkmatter-bot |\n| `docs/runbooks/homepage-dashboard.md` | **new** — operator runbook |\n\n## How it works\n\n`nix run .#render-homepage-config` reads:\n- `config/service-catalog.nix` (curated tiles) + `config/services.nix` (app deployments)\n- the gitops checkout: `apps/*.yaml` + `manifests/cloudflared/configmap.yaml` — the cloudflared ingress list is the **authoritative** hostname→Service map, so k3s tiles get clickable links dynamically (add a tunnel route → a card appears). The generator **self-excludes the `homepage` namespace** so the dashboard never lists itself.\n\n…and emits one `homepage` ConfigMap (services/settings/widgets/bookmarks.yaml). The workflow regenerates it on relevant pushes and opens a signed PR on `darkmatter/gitops`; ArgoCD deploys it at `home.darkmatter.io`.\n\n## Companion / prerequisites\n\n- **gitops bootstrap (deploys it):** darkmatter/gitops#16 — ArgoCD app + Deployment/Service/SA + first ConfigMap + cloudflared `home.darkmatter.io` route.\n- **One-time:** the `darkmatter-bot` App must be installed on `gitops` with Contents + Pull-requests write (it already powers `refresh-inventory.yml` on `infra`).\n- **Follow-up (not in scope):** DNS CNAME + Cloudflare Access SSO on `home.darkmatter.io` (homepage has no native auth).\n\n## Verification\n\n- `nix run .#render-homepage-config` → **31 services, 6 groups**; `kubeconform -strict` valid.\n- `actionlint` clean on the workflow.\n- App resolves on both `x86_64-linux` and `aarch64-darwin`.\n- Additive `icon` field confirmed non-breaking for gatus + inventory renderer.\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\n<!-- codesmith:footer -->\n---\n<a href=\"https://app.blacksmith.sh/darkmatter/codesmith/infra/pr/21\"><picture><source media=\"(prefers-color-scheme: dark)\" srcset=\"https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v2.svg\"><source media=\"(prefers-color-scheme: light)\" srcset=\"https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-light-v2.svg\"><img alt=\"View with Codesmith\" src=\"https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v2.svg\"></picture></a> <a href=\"https://backend.blacksmith.sh/track/enable-autofix?expires=1783041055&installation_id=137091173&pr_number=21&repository=darkmatter%2Finfra&return_to=https%3A%2F%2Fgithub.com%2Fdarkmatter%2Finfra%2Fpull%2F21&signature=c35b1e4c3bb01963ee543ab2b6a9d20a49782c22d39cf441667d2f6d9d42cc02\"><picture><source media=\"(prefers-color-scheme: dark)\" srcset=\"https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg\"><source media=\"(prefers-color-scheme: light)\" srcset=\"https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-light.svg\"><img alt=\"Autofix with Codesmith\" src=\"https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg\"></picture></a>\n<sup>Need help on this PR? Tag <code>@codesmith</code> with what you need. Autofix is disabled.</sup>\n\n<!-- codesmith:autofix:disabled -->\n<!-- /codesmith:footer -->",
    "created_at": "2026-06-03T01:10:51Z",
    "updated_at": "2026-06-03T15:05:07Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": "57d48ce09bea2d9522f0eeab716d0f3a74a21d88",
    "assignees": [],
    "requested_reviewers": [],
    "requested_teams": [],
    "labels": [],
    "milestone": null,
    "draft": false,
    "commits_url": "https://api.github.com/repos/darkmatter/infra/pulls/21/commits",
    "review_comments_url": "https://api.github.com/repos/darkmatter/infra/pulls/21/comments",
    "review_comment_url": "https://api.github.com/repos/darkmatter/infra/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/darkmatter/infra/issues/21/comments",
    "statuses_url": "https://api.github.com/repos/darkmatter/infra/statuses/0f54ce4ae5f865cd6426d3f515cdc0de65d32557",
    "head": {
      "label": "darkmatter:feat/homepage-config-generator",
      "ref": "feat/homepage-config-generator",
      "sha": "0f54ce4ae5f865cd6426d3f515cdc0de65d32557",
      "user": {
        "login": "darkmatter",
        "id": 17834193,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
        "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/darkmatter",
        "html_url": "https://github.com/darkmatter",
        "followers_url": "https://api.github.com/users/darkmatter/followers",
        "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
        "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
        "organizations_url": "https://api.github.com/users/darkmatter/orgs",
        "repos_url": "https://api.github.com/users/darkmatter/repos",
        "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
        "received_events_url": "https://api.github.com/users/darkmatter/received_events",
        "type": "Organization",
        "user_view_type": "public",
        "site_admin": false
      },
      "repo": {
        "id": 1051574903,
        "node_id": "R_kgDOPq3Cdw",
        "name": "infra",
        "full_name": "darkmatter/infra",
        "private": true,
        "owner": {
          "login": "darkmatter",
          "id": 17834193,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
          "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/darkmatter",
          "html_url": "https://github.com/darkmatter",
          "followers_url": "https://api.github.com/users/darkmatter/followers",
          "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
          "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
          "organizations_url": "https://api.github.com/users/darkmatter/orgs",
          "repos_url": "https://api.github.com/users/darkmatter/repos",
          "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
          "received_events_url": "https://api.github.com/users/darkmatter/received_events",
          "type": "Organization",
          "user_view_type": "public",
          "site_admin": false
        },
        "html_url": "https://github.com/darkmatter/infra",
        "description": "Versioned infra repo",
        "fork": false,
        "url": "https://api.github.com/repos/darkmatter/infra",
        "forks_url": "https://api.github.com/repos/darkmatter/infra/forks",
        "keys_url": "https://api.github.com/repos/darkmatter/infra/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/darkmatter/infra/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/darkmatter/infra/teams",
        "hooks_url": "https://api.github.com/repos/darkmatter/infra/hooks",
        "issue_events_url": "https://api.github.com/repos/darkmatter/infra/issues/events{/number}",
        "events_url": "https://api.github.com/repos/darkmatter/infra/events",
        "assignees_url": "https://api.github.com/repos/darkmatter/infra/assignees{/user}",
        "branches_url": "https://api.github.com/repos/darkmatter/infra/branches{/branch}",
        "tags_url": "https://api.github.com/repos/darkmatter/infra/tags",
        "blobs_url": "https://api.github.com/repos/darkmatter/infra/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/darkmatter/infra/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/darkmatter/infra/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/darkmatter/infra/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/darkmatter/infra/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/darkmatter/infra/languages",
        "stargazers_url": "https://api.github.com/repos/darkmatter/infra/stargazers",
        "contributors_url": "https://api.github.com/repos/darkmatter/infra/contributors",
        "subscribers_url": "https://api.github.com/repos/darkmatter/infra/subscribers",
        "subscription_url": "https://api.github.com/repos/darkmatter/infra/subscription",
        "commits_url": "https://api.github.com/repos/darkmatter/infra/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/darkmatter/infra/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/darkmatter/infra/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/darkmatter/infra/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/darkmatter/infra/contents/{+path}",
        "compare_url": "https://api.github.com/repos/darkmatter/infra/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/darkmatter/infra/merges",
        "archive_url": "https://api.github.com/repos/darkmatter/infra/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/darkmatter/infra/downloads",
        "issues_url": "https://api.github.com/repos/darkmatter/infra/issues{/number}",
        "pulls_url": "https://api.github.com/repos/darkmatter/infra/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/darkmatter/infra/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/darkmatter/infra/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/darkmatter/infra/labels{/name}",
        "releases_url": "https://api.github.com/repos/darkmatter/infra/releases{/id}",
        "deployments_url": "https://api.github.com/repos/darkmatter/infra/deployments",
        "created_at": "2025-09-06T09:28:59Z",
        "updated_at": "2026-06-03T14:06:12Z",
        "pushed_at": "2026-06-03T15:05:06Z",
        "git_url": "git://github.com/darkmatter/infra.git",
        "ssh_url": "git@github.com:darkmatter/infra.git",
        "clone_url": "https://github.com/darkmatter/infra.git",
        "svn_url": "https://github.com/darkmatter/infra",
        "homepage": null,
        "size": 59144,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "Nix",
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": true,
        "has_discussions": false,
        "forks_count": 0,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 2,
        "license": null,
        "allow_forking": false,
        "is_template": false,
        "web_commit_signoff_required": false,
        "has_pull_requests": true,
        "pull_request_creation_policy": "all",
        "topics": [],
        "visibility": "private",
        "forks": 0,
        "open_issues": 2,
        "watchers": 0,
        "default_branch": "main"
      }
    },
    "base": {
      "label": "darkmatter:main",
      "ref": "main",
      "sha": "2e2e378416e4cd8a586e676ffe611bf60ec7dfae",
      "user": {
        "login": "darkmatter",
        "id": 17834193,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
        "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/darkmatter",
        "html_url": "https://github.com/darkmatter",
        "followers_url": "https://api.github.com/users/darkmatter/followers",
        "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
        "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
        "organizations_url": "https://api.github.com/users/darkmatter/orgs",
        "repos_url": "https://api.github.com/users/darkmatter/repos",
        "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
        "received_events_url": "https://api.github.com/users/darkmatter/received_events",
        "type": "Organization",
        "user_view_type": "public",
        "site_admin": false
      },
      "repo": {
        "id": 1051574903,
        "node_id": "R_kgDOPq3Cdw",
        "name": "infra",
        "full_name": "darkmatter/infra",
        "private": true,
        "owner": {
          "login": "darkmatter",
          "id": 17834193,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
          "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/darkmatter",
          "html_url": "https://github.com/darkmatter",
          "followers_url": "https://api.github.com/users/darkmatter/followers",
          "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
          "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
          "organizations_url": "https://api.github.com/users/darkmatter/orgs",
          "repos_url": "https://api.github.com/users/darkmatter/repos",
          "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
          "received_events_url": "https://api.github.com/users/darkmatter/received_events",
          "type": "Organization",
          "user_view_type": "public",
          "site_admin": false
        },
        "html_url": "https://github.com/darkmatter/infra",
        "description": "Versioned infra repo",
        "fork": false,
        "url": "https://api.github.com/repos/darkmatter/infra",
        "forks_url": "https://api.github.com/repos/darkmatter/infra/forks",
        "keys_url": "https://api.github.com/repos/darkmatter/infra/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/darkmatter/infra/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/darkmatter/infra/teams",
        "hooks_url": "https://api.github.com/repos/darkmatter/infra/hooks",
        "issue_events_url": "https://api.github.com/repos/darkmatter/infra/issues/events{/number}",
        "events_url": "https://api.github.com/repos/darkmatter/infra/events",
        "assignees_url": "https://api.github.com/repos/darkmatter/infra/assignees{/user}",
        "branches_url": "https://api.github.com/repos/darkmatter/infra/branches{/branch}",
        "tags_url": "https://api.github.com/repos/darkmatter/infra/tags",
        "blobs_url": "https://api.github.com/repos/darkmatter/infra/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/darkmatter/infra/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/darkmatter/infra/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/darkmatter/infra/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/darkmatter/infra/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/darkmatter/infra/languages",
        "stargazers_url": "https://api.github.com/repos/darkmatter/infra/stargazers",
        "contributors_url": "https://api.github.com/repos/darkmatter/infra/contributors",
        "subscribers_url": "https://api.github.com/repos/darkmatter/infra/subscribers",
        "subscription_url": "https://api.github.com/repos/darkmatter/infra/subscription",
        "commits_url": "https://api.github.com/repos/darkmatter/infra/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/darkmatter/infra/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/darkmatter/infra/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/darkmatter/infra/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/darkmatter/infra/contents/{+path}",
        "compare_url": "https://api.github.com/repos/darkmatter/infra/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/darkmatter/infra/merges",
        "archive_url": "https://api.github.com/repos/darkmatter/infra/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/darkmatter/infra/downloads",
        "issues_url": "https://api.github.com/repos/darkmatter/infra/issues{/number}",
        "pulls_url": "https://api.github.com/repos/darkmatter/infra/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/darkmatter/infra/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/darkmatter/infra/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/darkmatter/infra/labels{/name}",
        "releases_url": "https://api.github.com/repos/darkmatter/infra/releases{/id}",
        "deployments_url": "https://api.github.com/repos/darkmatter/infra/deployments",
        "created_at": "2025-09-06T09:28:59Z",
        "updated_at": "2026-06-03T14:06:12Z",
        "pushed_at": "2026-06-03T15:05:06Z",
        "git_url": "git://github.com/darkmatter/infra.git",
        "ssh_url": "git@github.com:darkmatter/infra.git",
        "clone_url": "https://github.com/darkmatter/infra.git",
        "svn_url": "https://github.com/darkmatter/infra",
        "homepage": null,
        "size": 59144,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "Nix",
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": true,
        "has_discussions": false,
        "forks_count": 0,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 2,
        "license": null,
        "allow_forking": false,
        "is_template": false,
        "web_commit_signoff_required": false,
        "has_pull_requests": true,
        "pull_request_creation_policy": "all",
        "topics": [],
        "visibility": "private",
        "forks": 0,
        "open_issues": 2,
        "watchers": 0,
        "default_branch": "main"
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/darkmatter/infra/pulls/21"
      },
      "html": {
        "href": "https://github.com/darkmatter/infra/pull/21"
      },
      "issue": {
        "href": "https://api.github.com/repos/darkmatter/infra/issues/21"
      },
      "comments": {
        "href": "https://api.github.com/repos/darkmatter/infra/issues/21/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/darkmatter/infra/pulls/21/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/darkmatter/infra/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/darkmatter/infra/pulls/21/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/darkmatter/infra/statuses/0f54ce4ae5f865cd6426d3f515cdc0de65d32557"
      }
    },
    "author_association": "MEMBER",
    "auto_merge": null,
    "assignee": null,
    "active_lock_reason": null
  },
  "thread": {
    "node_id": "PRRT_kwDOPq3Cd86Gm4gv",
    "comments": [
      {
        "url": "https://api.github.com/repos/darkmatter/infra/pulls/comments/3345370966",
        "pull_request_review_id": 4414798997,
        "id": 3345370966,
        "node_id": "PRRC_kwDOPq3Cd87HZk9W",
        "diff_hunk": "@@ -0,0 +1,123 @@\n+# Regenerate the gethomepage/homepage dashboard config and open a PR against\n+# darkmatter/gitops, where ArgoCD deploys it to the k3s cluster.\n+#\n+# The config is a *third renderer* over the service single-source-of-truth\n+# (alongside gatus and the docs launcher): `nix run .#render-homepage-config`\n+# reads config/service-catalog.nix + config/services.nix from this repo and\n+# apps/*.yaml + the cloudflared ingress map from the gitops checkout, then\n+# writes the `homepage` ConfigMap into gitops/manifests/homepage/configmap.yaml.\n+#\n+# Why a PR (not a direct push): gitops `main` is review-gated (CODEOWNERS +\n+# kubeconform `Validate` CI), so the bot opens/updates a PR and ArgoCD only\n+# deploys once it merges. The PR commit is created via the GitHub API\n+# (sign-commits: true) so it is \"Verified\" and attributed to darkmatter-bot[bot].\n+#\n+# Operator prerequisite (one-time): the darkmatter-bot GitHub App must be\n+# installed on BOTH `infra` and `gitops` with Contents: write + Pull requests:\n+# write. The static homepage manifests (Deployment/Service/SA/ArgoCD app +\n+# cloudflared ingress) are bootstrapped separately; this workflow only keeps\n+# manifests/homepage/configmap.yaml in sync.\n+name: Generate homepage config\n+\n+on:\n+  push:\n+    branches: [main]\n+    paths:\n+      - config/service-catalog.nix\n+      - config/services.nix\n+      - nix/flake/apps/render-homepage-config.nix\n+      - .github/workflows/generate-homepage.yml\n+  workflow_dispatch:\n+\n+# Never run two regenerations at once — they would race on the bot branch.\n+concurrency:\n+  group: generate-homepage\n+  cancel-in-progress: false\n+\n+permissions:\n+  contents: read # gitops writes happen via the App token, not GITHUB_TOKEN\n+\n+jobs:\n+  generate:\n+    runs-on: ubuntu-latest\n+    env:\n+      NIX_CONFIG: |\n+        accept-flake-config = true\n+        extra-substituters = https://cache.nixos.org https://nix-community.cachix.org https://darkmatter.cachix.org\n+        extra-trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= darkmatter.cachix.org-1:FM0VM+D2fvMt8R899nyKsAxkcwERzDVYaeJEZ9oKejQ=\n+    steps:\n+      - name: Checkout infra\n+        uses: actions/checkout@v4\n+        with:\n+          persist-credentials: false\n+\n+      - name: Install Nix (Determinate)\n+        uses: DeterminateSystems/determinate-nix-action@v3\n+\n+      # Token scoped to infra (flake eval needs the repo) + gitops (checkout +\n+      # PR). Reuses the same App as refresh-inventory.yml.\n+      - name: Mint darkmatter-bot installation token\n+        id: app-token\n+        uses: actions/create-github-app-token@v1\n+        with:\n+          app-id: ${{ secrets.DARKMATTER_APP_ID }}\n+          private-key: ${{ secrets.DARKMATTER_APP_PRIVATE_KEY }}\n+          owner: darkmatter\n+          repositories: |\n+            infra\n+            gitops\n+\n+      - name: Checkout darkmatter/gitops\n+        uses: actions/checkout@v4\n+        with:\n+          repository: darkmatter/gitops\n+          path: gitops\n+          token: ${{ steps.app-token.outputs.token }}\n+",
        "path": ".github/workflows/generate-homepage.yml",
        "commit_id": "6f350130be4c529882c57915a99d9c850d989fa0",
        "original_commit_id": "6f350130be4c529882c57915a99d9c850d989fa0",
        "user": {
          "login": "Copilot",
          "id": 175728472,
          "node_id": "BOT_kgDOCnlnWA",
          "avatar_url": "https://avatars.githubusercontent.com/in/946600?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/Copilot",
          "html_url": "https://github.com/apps/copilot-pull-request-reviewer",
          "followers_url": "https://api.github.com/users/Copilot/followers",
          "following_url": "https://api.github.com/users/Copilot/following{/other_user}",
          "gists_url": "https://api.github.com/users/Copilot/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/Copilot/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/Copilot/subscriptions",
          "organizations_url": "https://api.github.com/users/Copilot/orgs",
          "repos_url": "https://api.github.com/users/Copilot/repos",
          "events_url": "https://api.github.com/users/Copilot/events{/privacy}",
          "received_events_url": "https://api.github.com/users/Copilot/received_events",
          "type": "Bot",
          "user_view_type": "public",
          "site_admin": false
        },
        "body": "This repo consistently sets `persist-credentials: false` on `actions/checkout` to avoid leaving credentials in the local git config. The gitops checkout uses an installation token and should follow the same pattern.",
        "created_at": "2026-06-03T01:14:12Z",
        "updated_at": "2026-06-03T01:14:12Z",
        "html_url": "https://github.com/darkmatter/infra/pull/21#discussion_r3345370966",
        "pull_request_url": "https://api.github.com/repos/darkmatter/infra/pulls/21",
        "_links": {
          "self": {
            "href": "https://api.github.com/repos/darkmatter/infra/pulls/comments/3345370966"
          },
          "html": {
            "href": "https://github.com/darkmatter/infra/pull/21#discussion_r3345370966"
          },
          "pull_request": {
            "href": "https://api.github.com/repos/darkmatter/infra/pulls/21"
          }
        },
        "reactions": {
          "url": "https://api.github.com/repos/darkmatter/infra/pulls/comments/3345370966/reactions",
          "total_count": 0,
          "+1": 0,
          "-1": 0,
          "laugh": 0,
          "hooray": 0,
          "confused": 0,
          "heart": 0,
          "rocket": 0,
          "eyes": 0
        },
        "start_line": null,
        "original_start_line": 70,
        "start_side": "RIGHT",
        "line": null,
        "original_line": 76,
        "side": "RIGHT",
        "author_association": "NONE",
        "original_position": 76,
        "position": 1,
        "subject_type": "line"
      }
    ]
  },
  "updated_at": "2026-06-03T08:05:08-07:00",
  "repository": {
    "id": 1051574903,
    "node_id": "R_kgDOPq3Cdw",
    "name": "infra",
    "full_name": "darkmatter/infra",
    "private": true,
    "owner": {
      "login": "darkmatter",
      "id": 17834193,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
      "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/darkmatter",
      "html_url": "https://github.com/darkmatter",
      "followers_url": "https://api.github.com/users/darkmatter/followers",
      "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
      "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
      "organizations_url": "https://api.github.com/users/darkmatter/orgs",
      "repos_url": "https://api.github.com/users/darkmatter/repos",
      "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
      "received_events_url": "https://api.github.com/users/darkmatter/received_events",
      "type": "Organization",
      "user_view_type": "public",
      "site_admin": false
    },
    "html_url": "https://github.com/darkmatter/infra",
    "description": "Versioned infra repo",
    "fork": false,
    "url": "https://api.github.com/repos/darkmatter/infra",
    "forks_url": "https://api.github.com/repos/darkmatter/infra/forks",
    "keys_url": "https://api.github.com/repos/darkmatter/infra/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/darkmatter/infra/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/darkmatter/infra/teams",
    "hooks_url": "https://api.github.com/repos/darkmatter/infra/hooks",
    "issue_events_url": "https://api.github.com/repos/darkmatter/infra/issues/events{/number}",
    "events_url": "https://api.github.com/repos/darkmatter/infra/events",
    "assignees_url": "https://api.github.com/repos/darkmatter/infra/assignees{/user}",
    "branches_url": "https://api.github.com/repos/darkmatter/infra/branches{/branch}",
    "tags_url": "https://api.github.com/repos/darkmatter/infra/tags",
    "blobs_url": "https://api.github.com/repos/darkmatter/infra/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/darkmatter/infra/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/darkmatter/infra/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/darkmatter/infra/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/darkmatter/infra/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/darkmatter/infra/languages",
    "stargazers_url": "https://api.github.com/repos/darkmatter/infra/stargazers",
    "contributors_url": "https://api.github.com/repos/darkmatter/infra/contributors",
    "subscribers_url": "https://api.github.com/repos/darkmatter/infra/subscribers",
    "subscription_url": "https://api.github.com/repos/darkmatter/infra/subscription",
    "commits_url": "https://api.github.com/repos/darkmatter/infra/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/darkmatter/infra/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/darkmatter/infra/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/darkmatter/infra/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/darkmatter/infra/contents/{+path}",
    "compare_url": "https://api.github.com/repos/darkmatter/infra/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/darkmatter/infra/merges",
    "archive_url": "https://api.github.com/repos/darkmatter/infra/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/darkmatter/infra/downloads",
    "issues_url": "https://api.github.com/repos/darkmatter/infra/issues{/number}",
    "pulls_url": "https://api.github.com/repos/darkmatter/infra/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/darkmatter/infra/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/darkmatter/infra/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/darkmatter/infra/labels{/name}",
    "releases_url": "https://api.github.com/repos/darkmatter/infra/releases{/id}",
    "deployments_url": "https://api.github.com/repos/darkmatter/infra/deployments",
    "created_at": "2025-09-06T09:28:59Z",
    "updated_at": "2026-06-03T14:06:12Z",
    "pushed_at": "2026-06-03T15:05:06Z",
    "git_url": "git://github.com/darkmatter/infra.git",
    "ssh_url": "git@github.com:darkmatter/infra.git",
    "clone_url": "https://github.com/darkmatter/infra.git",
    "svn_url": "https://github.com/darkmatter/infra",
    "homepage": null,
    "size": 59144,
    "stargazers_count": 0,
    "watchers_count": 0,
    "language": "Nix",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": true,
    "has_discussions": false,
    "forks_count": 0,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 2,
    "license": null,
    "allow_forking": false,
    "is_template": false,
    "web_commit_signoff_required": false,
    "has_pull_requests": true,
    "pull_request_creation_policy": "all",
    "topics": [],
    "visibility": "private",
    "forks": 0,
    "open_issues": 2,
    "watchers": 0,
    "default_branch": "main",
    "custom_properties": {}
  },
  "organization": {
    "login": "darkmatter",
    "id": 17834193,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
    "url": "https://api.github.com/orgs/darkmatter",
    "repos_url": "https://api.github.com/orgs/darkmatter/repos",
    "events_url": "https://api.github.com/orgs/darkmatter/events",
    "hooks_url": "https://api.github.com/orgs/darkmatter/hooks",
    "issues_url": "https://api.github.com/orgs/darkmatter/issues",
    "members_url": "https://api.github.com/orgs/darkmatter/members{/member}",
    "public_members_url": "https://api.github.com/orgs/darkmatter/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
    "description": ""
  },
  "enterprise": {
    "id": 469843,
    "slug": "darkmatter",
    "name": "darkmatter",
    "node_id": "E_kgDOAAcrUw",
    "avatar_url": "https://avatars.githubusercontent.com/b/469843?v=4",
    "description": "",
    "website_url": "darkmatter.io",
    "html_url": "https://github.com/enterprises/darkmatter",
    "created_at": "2025-09-07T16:01:00Z",
    "updated_at": "2026-05-09T15:34:55Z"
  },
  "sender": {
    "login": "czxtm",
    "id": 1325802,
    "node_id": "MDQ6VXNlcjEzMjU4MDI=",
    "avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/czxtm",
    "html_url": "https://github.com/czxtm",
    "followers_url": "https://api.github.com/users/czxtm/followers",
    "following_url": "https://api.github.com/users/czxtm/following{/other_user}",
    "gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
    "organizations_url": "https://api.github.com/users/czxtm/orgs",
    "repos_url": "https://api.github.com/users/czxtm/repos",
    "events_url": "https://api.github.com/users/czxtm/events{/privacy}",
    "received_events_url": "https://api.github.com/users/czxtm/received_events",
    "type": "User",
    "user_view_type": "public",
    "site_admin": false
  },
  "installation": {
    "id": 131074261,
    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMxMDc0MjYx"
  }
}