aboutsummaryrefslogtreecommitdiff
path: root/scripts/laminar
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/laminar')
-rw-r--r--scripts/laminar/hooks.json38
1 files changed, 38 insertions, 0 deletions
diff --git a/scripts/laminar/hooks.json b/scripts/laminar/hooks.json
new file mode 100644
index 0000000..70d8490
--- /dev/null
+++ b/scripts/laminar/hooks.json
@@ -0,0 +1,38 @@
+[
+ {
+ "id": "run-pylint",
+ "execute-command": "$HOME/CI/genenetwork3/scripts/laminar/gn3-lint.sh",
+ "command-working-directory": "$HOME",
+ "response-message": "Running linter...",
+ "trigger-rule":
+ {
+ "and":
+ [
+ {
+ "match":
+ {
+ "type": "payload-hash-sha1",
+ "secret": "Tc7wIOob,O^u",
+ "parameter":
+ {
+ "source": "header",
+ "name": "X-Hub-Signature"
+ }
+ }
+ },
+ {
+ "match":
+ {
+ "type": "value",
+ "value": "refs/heads/master",
+ "parameter":
+ {
+ "source": "payload",
+ "name": "ref"
+ }
+ }
+ }
+ ]
+ }
+ }
+]