add a new config - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
@@ -12,12 +12,18 @@
|
|||||||
"and": [
|
"and": [
|
||||||
{
|
{
|
||||||
"match": {
|
"match": {
|
||||||
"type": "payload",
|
"type": "payload-hash-sha1",
|
||||||
|
"secret": "<%= @pt_webhook_secret %>"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"match": {
|
||||||
|
"type": "value",
|
||||||
|
"value": "refs/heads/production",
|
||||||
"parameter": {
|
"parameter": {
|
||||||
"source": "jsonpath",
|
"source": "payload",
|
||||||
"name": "$.ref"
|
"name": "ref"
|
||||||
},
|
}
|
||||||
"value": "refs/heads/production"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user