summaryrefslogtreecommitdiffstats
path: root/lass/2configs/git.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 /lass/2configs/git.nix
parentdb5921f163c59673ae0307088cd14bdda836c6d8 (diff)
irc-announce: whitelist refs instead of branches
Diffstat (limited to 'lass/2configs/git.nix')
-rw-r--r--lass/2configs/git.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/lass/2configs/git.nix b/lass/2configs/git.nix
index 829e62269..011c6022c 100644
--- a/lass/2configs/git.nix
+++ b/lass/2configs/git.nix
@@ -100,10 +100,12 @@ let
# TODO make nick = config.krebs.build.host.name the default
nick = config.krebs.build.host.name;
channel = "#xxx";
+ # TODO define refs in some kind of option per repo
+ refs = [
+ "refs/heads/master"
+ ];
server = "irc.r";
verbose = config.krebs.build.host.name == "prism";
- # TODO define branches in some kind of option per repo
- branches = [ "master" ];
};
};
};
@@ -121,10 +123,13 @@ let
# TODO make nick = config.krebs.build.host.name the default
nick = config.krebs.build.host.name;
channel = "#xxx";
+ # TODO define refs in some kind of option per repo
+ refs = [
+ "refs/heads/master"
+ "refs/heads/staging*"
+ ];
server = "irc.r";
verbose = false;
- # TODO define branches in some kind of option per repo
- branches = [ "master" "staging*" ];
};
} // hooks;
};