Repository navigation
nixbot: bind forge-read for the owner's effects - #109
Merged
Merged
Conversation
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.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Binds the
forge-readeffect secret for everygithub:Shrub24/*repository from the daemon's zero-scopegithub/token, rendered as a sops template and loaded by nixbot throughLoadCredential.nix-fleet's update effect (unify-ci-surface) runs its batch with this token as
GITHUB_TOKENand a Nixaccess-tokensentry, 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.fleet.foundation.githubToken.{"forge-read":{"data":{"token":<placeholder>}}};LoadCredentialcarrieseffects-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: theetcinput source alone).