admin管理员组文章数量:1415484
I created a custom webhook in Artifactory 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 <no value>
.
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?
本文标签: How to get propertyvalue from a custom Artifactory webhook passed to a GitHub actionStack Overflow
版权声明:本文标题:How to get property_value from a custom Artifactory webhook passed to a GitHub action - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745232613a2648892.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论