I created a custom webhook in jfrog and define the payload as below:
{
"event_type": "artifact_property_deleted",
"client_payload": {
"domain": "artifact_property",
"event_type": "artifact_property_deleted",
"data": {
"repo_key": "{{ .data.repo_key }}",
"path": "{{ .data.path }}",
"name": "{{ .data.name }}",
"property_key": "{{ .data.property_key }}",
"property_value": "{{ .data.property_value }}"
},
"subscription_key": "delete",
"jpd_origin": ";,
"source": "jfrog/jfrt@02jhydiokiusequygyts"
}
}
I need to pass repo_key, path, name, property_key and property_value to the GitHub action, everything else is passed properly except property_value. When received by GitHub actions, it shows .
Here is how I get the value from GitHub actions:
echo "Property Value: ${{ github.event.client_payload.data.property_value }}"
Can someone guide through how to pass the value properly?
Thanks.