Skip to content

Question - How can I view the full json payload? #47

@vikas027

Description

@vikas027

I need some help/guidance in inspect/view the full json payload in the dispatch event documented in the README.md.

My goal is to get the pull request number of the repository that has triggered the workflow.

I have tried a few options in vain

echo ${{ github.event.client_payload }}  # just prints Object
echo ${{ github.event.client_payload.pull_request_url }}  # does not output anything
echo ${{ github.event.client_payload.event.pull_request.number }} # does not output anything

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions