summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/repo-sync.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-09-06 23:02:56 +0200
committertv <tv@krebsco.de>2018-09-06 23:02:56 +0200
commitaa04423e3a313271fca4d951d8717459e7969d60 (patch)
tree06695502d941bb023e495164fc4630207567c6f2 /krebs/2configs/repo-sync.nix
parentdb5921f163c59673ae0307088cd14bdda836c6d8 (diff)
irc-announce: whitelist refs instead of branches
Diffstat (limited to 'krebs/2configs/repo-sync.nix')
-rw-r--r--krebs/2configs/repo-sync.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/krebs/2configs/repo-sync.nix b/krebs/2configs/repo-sync.nix
index 0f3d3326f..1ae6d6c11 100644
--- a/krebs/2configs/repo-sync.nix
+++ b/krebs/2configs/repo-sync.nix
@@ -16,14 +16,14 @@ let
cgit.section = section;
hooks = mkDefault {
post-receive = pkgs.git-hooks.irc-announce {
- nick = config.networking.hostName;
- verbose = false;
channel = "#xxx";
- server = "irc.r";
- branches = [
- "master"
- "newest"
+ refs = [
+ "refs/heads/master"
+ "refs/heads/newest"
];
+ nick = config.networking.hostName;
+ server = "irc.r";
+ verbose = false;
};
};
};