pinwheel: Add rv, the review request watcher
rv (alex/rv on gitea) watches GitHub for pull requests that request a review from me or from soundtrackyourbrand/content, notifies on each, and lists them in a web UI on 127.0.0.1:7778 that opens a review in its own worktree with Emacs. programs.rv runs `rv serve` as a systemd user service with the work GitHub token, on the same condition as the other GitHub-backed work tools.
This commit is contained in:
3 files changed
+38
No files matched your search
@@ -116,8 +116,18 @@ EOF
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
programs.rv = lib.mkIf gitEnabled {
|
||||
enable = true;
|
||||
settings = {
|
||||
tokenFile = config.age.secrets.work-github-token.path;
|
||||
teams = [ "soundtrackyourbrand/content" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.sharedModules = [ inputs.rv.homeManagerModules.default ];
|
||||
|
||||
# Ensure ~/code/work is owned by alex; it was previously created as root by
|
||||
# agenix when secrets had a custom path there.
|
||||
systemd.tmpfiles.rules = [
|
||||
|
||||
Reference in new issue
Block a user