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