最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

jfrog custom webhook triggers github action - Stack Overflow

programmeradmin0浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论