aboutsummaryrefslogtreecommitdiff
path: root/scripts/laminar/hooks.json
blob: 70d8490f1304de25939327b785cb96ead0869505 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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"
                        }
                    }
                }
            ]
        }
    }
]