I am trying to trigger a github workflow using webhook automation feature of wandb. But I am unable to trigger the workflow. I have added my GitHub Personal Access Token as Secret and created a new webhook. Also, created a new automation in my project as guided in this article.
But it does not trigger my workflow, when I try to echo the event I get blank values for all. Below is the step I added in my workflow.
- name: Echo Template Strings from W&B Webhook
run: |
echo -e “${{ github.event.client_payload.my_custom_string1 }}\n
${{ github.event.client_payload.my_custom_string2 }}\n
${{ github.event.client_payload.event_type }}\n
${{ github.event.client_payload.event_author }}\n
${{ github.event.client_payload.artifact_version }}\n
${{ github.event.client_payload.artifact_version_string }}\n
${{ github.event.client_payload.artifact_collection_name }}\n
${{ github.event.client_payload.project_name }}\n
${{ github.event.client_payload.entity_name }}”
What am I missing here, are there any more references I can go through?
Thanks