add a new config w/o secret - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
@@ -13,10 +13,20 @@
|
|||||||
{
|
{
|
||||||
"match": {
|
"match": {
|
||||||
"type": "value",
|
"type": "value",
|
||||||
"value": "refs/heads/production",
|
"value": "production",
|
||||||
"parameter": {
|
"parameter": {
|
||||||
"source": "payload",
|
"source": "jsonpath",
|
||||||
"name": "ref"
|
"name": "$.object_attributes.target_branch"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"match": {
|
||||||
|
"type": "value",
|
||||||
|
"value": "merge_request",
|
||||||
|
"parameter": {
|
||||||
|
"source": "jsonpath",
|
||||||
|
"name": "$.object_kind"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user