Payload
{
"action": "submitted",
"review": {
"id": 4419887003,
"node_id": "PRR_kwDOPq3Cd88AAAABB3Ifmw",
"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": "## Pull request overview\n\nAdds a one-shot Alchemy script to bootstrap a Kubernetes `imagePullSecret` for pulling `darkmatter/tenderly-snap` images from GHCR by minting GitHub App installation tokens and opening a draft PR against `darkmatter/gitops` containing the rendered Secret manifest. It also introduces a new Terraform `gha_ecr` entry for `tenderly-snap`, which will provision AWS IAM/ECR resources.\n\n**Changes:**\n- Add `provision-ghcr-pull-secret.ts` to mint scoped GitHub App installation tokens, render a `kubernetes.io/dockerconfigjson` Secret, and open a draft PR in `darkmatter/gitops`.\n- Add a new `bun run ghcr-pull:provision` script entry in `packages/alchemy/package.json`.\n- Add `tenderly-snap` to Terraform `local.gha_ecr_repos` (creating an additional GitHub OIDC → AWS role/ECR repo configuration).\n\n### Reviewed changes\n\nCopilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.\n\n| File | Description |\n| ---- | ----------- |\n| platform/terraform/locals.tf | Adds a new `gha_ecr` repo config for `tenderly-snap` (impacts AWS IAM/ECR provisioning and OIDC trust scope). |\n| packages/alchemy/scripts/provision-ghcr-pull-secret.ts | New provisioning script for minting GH App tokens, generating a GHCR pull Secret manifest, and opening a gitops PR. |\n| packages/alchemy/package.json | Adds a `ghcr-pull:provision` script entry to run the new provisioner. |\n\n\n\n\n\n\n---\n\n💡 <a href=\"/darkmatter/infra/new/main?filename=.github/instructions/*.instructions.md\" class=\"Link--inTextBlock\" target=\"_blank\" rel=\"noopener noreferrer\">Add Copilot custom instructions</a> for smarter, more guided reviews. <a href=\"https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot\" class=\"Link--inTextBlock\" target=\"_blank\" rel=\"noopener noreferrer\">Learn how to get started</a>.",
"commit_id": "5eaf4889cef96cb699f219f7eff4a6b464125330",
"state": "commented",
"html_url": "https://github.com/darkmatter/infra/pull/20#pullrequestreview-4419887003",
"pull_request_url": "https://api.github.com/repos/darkmatter/infra/pulls/20",
"_links": {
"html": {
"href": "https://github.com/darkmatter/infra/pull/20#pullrequestreview-4419887003"
},
"pull_request": {
"href": "https://api.github.com/repos/darkmatter/infra/pulls/20"
}
},
"submitted_at": "2026-06-03T15:07:12Z",
"updated_at": "2026-06-03T15:07:12Z",
"author_association": "NONE"
},
"pull_request": {
"url": "https://api.github.com/repos/darkmatter/infra/pulls/20",
"id": 3792061589,
"node_id": "PR_kwDOPq3Cd87iBkSV",
"html_url": "https://github.com/darkmatter/infra/pull/20",
"diff_url": "https://github.com/darkmatter/infra/pull/20.diff",
"patch_url": "https://github.com/darkmatter/infra/pull/20.patch",
"issue_url": "https://api.github.com/repos/darkmatter/infra/issues/20",
"number": 20,
"state": "closed",
"locked": false,
"title": "feat(alchemy): provision GHCR pull secret via darkmatter-bot GH App",
"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": "## Summary\n\nAdds `packages/alchemy/scripts/provision-ghcr-pull-secret.ts` and a new `bun run ghcr-pull:provision` task. Bootstraps the `ghcr-pull` imagePullSecret for the tenderly-snap workload by minting a scoped installation token via the **darkmatter-bot** GitHub App and opening a PR against `darkmatter/gitops` with the rendered Secret manifest.\n\n## What it does at run time\n\n1. Reads `github/darkmatter-bot/{app_id, private_key, [installation_id]}` from himitsu.\n2. Signs an App JWT (RS256, 9-min TTL via `node:crypto`).\n3. Mints two scoped installation tokens off the same JWT:\n - **Pull token** — `packages: read` on `darkmatter/tenderly-snap`, embedded as `x-access-token:<token>` in `.dockerconfigjson`.\n - **Gitops token** — `contents: write` + `pull_requests: write` on `darkmatter/gitops`, used to clone, commit, push the branch, and open the PR.\n4. Writes `manifests/tenderly-snap/ghcr-pull-secret.yaml` (typed `kubernetes.io/dockerconfigjson`) onto a fresh dated branch in a clone of gitops, commits as `darkmatter-bot`, pushes, opens a **draft** PR.\n\n## Caveats / known tradeoffs\n\n- **~1h token TTL.** The committed Secret contains a live ~1h installation token. Merge before it expires or re-run the provisioner. The annotations include `darkmatter.io/expires-at` so it's obvious in `kubectl describe`.\n- **Plaintext token in gitops history.** Not SOPS-encrypted — gitops's age recipients aren't co-located with infra, and the 1h TTL bounds the blast radius. Worth a follow-up to wrap with SOPS.\n- **Bootstrap only.** Continuous refresh wants an in-cluster CronJob (a small Job that re-runs the same JWT→install-token dance and `kubectl patch`es the Secret). Out of scope here.\n- **Cross-repo writes are out-of-band of Alchemy's Resource model.** This is a one-shot script, not a `Resource` provider — the installation token has no stable output to track. Lives under `scripts/` alongside `bootstrap-ci.ts`.\n\n## Verification\n\n- `bun run check` — typecheck OK (workspace sources).\n- Cannot run end-to-end here: requires `himitsu`, network access to `api.github.com`, and write access to `darkmatter/gitops` via the App. Smoke test will happen when you invoke `bun run ghcr-pull:provision` on your host.\n\n## Test plan\n\n- [ ] CI: `Nix eval`, `DeterminateCI / inventory`, `SOPS yaml drift`, `Pre-commit hooks` all pass\n- [ ] On a host with himitsu access: `bun run ghcr-pull:provision` produces a draft PR on `darkmatter/gitops` with a valid `manifests/tenderly-snap/ghcr-pull-secret.yaml`\n- [ ] Merge that PR; ArgoCD syncs; `kubectl -n tenderly-snap get secret ghcr-pull` shows the secret\n- [ ] Deployment in `tenderly-snap` namespace pulls the image successfully\n\n## Follow-up (not in this PR)\n\n- In-cluster CronJob for continuous refresh of `ghcr-pull`.\n- SOPS-encrypt the rendered Secret using gitops's age recipients.\n\nhttps://claude.ai/code/session_01SyfNM4XfTFSpY1WvKJ2dEq\n\n---\n_Generated by [Claude Code](https://claude.ai/code/session_01SyfNM4XfTFSpY1WvKJ2dEq)_\n\n<!-- codesmith:footer -->\n---\n<a href=\"https://app.blacksmith.sh/darkmatter/codesmith/infra/pr/20\"><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=1783040399&installation_id=137091173&pr_number=20&repository=darkmatter%2Finfra&return_to=https%3A%2F%2Fgithub.com%2Fdarkmatter%2Finfra%2Fpull%2F20&signature=03271f41fc71c6cb5a71ecd845852dc1a06f5651a413c09145c035879d56e76e\"><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-03T00:59:56Z",
"updated_at": "2026-06-03T15:07:12Z",
"closed_at": "2026-06-03T15:03:22Z",
"merged_at": "2026-06-03T15:03:22Z",
"merge_commit_sha": "205a0b3a30342e6293ec631fd08eb985f728877c",
"assignees": [],
"requested_reviewers": [],
"requested_teams": [],
"labels": [],
"milestone": null,
"draft": false,
"commits_url": "https://api.github.com/repos/darkmatter/infra/pulls/20/commits",
"review_comments_url": "https://api.github.com/repos/darkmatter/infra/pulls/20/comments",
"review_comment_url": "https://api.github.com/repos/darkmatter/infra/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/darkmatter/infra/issues/20/comments",
"statuses_url": "https://api.github.com/repos/darkmatter/infra/statuses/5eaf4889cef96cb699f219f7eff4a6b464125330",
"head": {
"label": "darkmatter:claude/gallant-cori-Zqh40",
"ref": "claude/gallant-cori-Zqh40",
"sha": "5eaf4889cef96cb699f219f7eff4a6b464125330",
"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:41Z",
"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": 1,
"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": 1,
"watchers": 0,
"default_branch": "main",
"allow_squash_merge": true,
"allow_merge_commit": true,
"allow_rebase_merge": true,
"allow_auto_merge": false,
"delete_branch_on_merge": false,
"allow_update_branch": false,
"use_squash_pr_title_as_default": false,
"squash_merge_commit_message": "COMMIT_MESSAGES",
"squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
"merge_commit_message": "PR_TITLE",
"merge_commit_title": "MERGE_MESSAGE"
}
},
"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:41Z",
"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": 1,
"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": 1,
"watchers": 0,
"default_branch": "main",
"allow_squash_merge": true,
"allow_merge_commit": true,
"allow_rebase_merge": true,
"allow_auto_merge": false,
"delete_branch_on_merge": false,
"allow_update_branch": false,
"use_squash_pr_title_as_default": false,
"squash_merge_commit_message": "COMMIT_MESSAGES",
"squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
"merge_commit_message": "PR_TITLE",
"merge_commit_title": "MERGE_MESSAGE"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/darkmatter/infra/pulls/20"
},
"html": {
"href": "https://github.com/darkmatter/infra/pull/20"
},
"issue": {
"href": "https://api.github.com/repos/darkmatter/infra/issues/20"
},
"comments": {
"href": "https://api.github.com/repos/darkmatter/infra/issues/20/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/darkmatter/infra/pulls/20/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/darkmatter/infra/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/darkmatter/infra/pulls/20/commits"
},
"statuses": {
"href": "https://api.github.com/repos/darkmatter/infra/statuses/5eaf4889cef96cb699f219f7eff4a6b464125330"
}
},
"author_association": "MEMBER",
"auto_merge": null,
"assignee": null,
"active_lock_reason": null
},
"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:41Z",
"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": 1,
"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": 1,
"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": "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
},
"installation": {
"id": 131074261,
"node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMxMDc0MjYx"
}
}