Skip to content

nixbot: bind forge-read for the owner's effects - #109

Merged
Shrub24 merged 1 commit into
mainfrom
nixbot/forge-read
Nov 20, 2026
Merged

Shrub24 merged 1 commit into
mainfrom
nixbot/forge-read

Conversation

@Shrub24

@Shrub24 Shrub24 commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Binds the forge-read effect secret for every github:Shrub24/* repository from the daemon's zero-scope github/token, rendered as a sops template and loaded by nixbot through LoadCredential.

nix-fleet's update effect (unify-ci-surface) runs its batch with this token as GITHUB_TOKEN and a Nix access-tokens entry, so release lookups and input refreshes are not held to the anonymous 60/hour API limit. It must be deployed to home-forge before that nix-fleet change lands, since the effect requests the secret.

  • Assertion: nixbot requires fleet.foundation.githubToken.
  • Verified: rendered content {"forge-read":{"data":{"token":<placeholder>}}}; LoadCredential carries effects-secret__github_colon_Shrub24_slash__star_; all three hosts evaluate. home-forge gains the secret; la-admin-1 and oci-melb-1 differ from main only by the flake source pinned in /etc (nix-diff: the etc input source alone).

nix-fleet's update effect runs its batch with a read-only GitHub token as
GITHUB_TOKEN and a Nix access token, so tag lookups and input refreshes
are not held to the anonymous API rate limit. The daemon's zero-scope
github/token already is one: render it as the forge-read effect secret
for every github:Shrub24/* repository.
@coderabbitai

coderabbitai Bot commented Nov 20, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 53411f14-8a52-42ee-babe-f7fe3ee5e787
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Shrub24
Shrub24 merged commit d973b23 into main Nov 20, 2026
5 checks passed
@Shrub24
Shrub24 deleted the nixbot/forge-read branch November 20, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant