Skip to content

Dump privileged event payloads #61

Dump privileged event payloads

Dump privileged event payloads #61

name: Dump privileged event payloads
on:
workflow_run:
workflows: ["prt", "issue_comment dump", "pull request ci"]
types:
- completed
check_suite:
types: [requested, rerequested, completed]
check_run:
types: [created, rerequested, completed]
jobs:
dump:
runs-on: ubuntu-latest
steps:
- name: Event metadata
run: |
echo "event_name: ${{ github.event_name }}"
echo "action: ${{ github.event.action }}"
echo "repository: ${{ github.repository }}"
echo "ref: ${{ github.ref }}"
echo "sha: ${{ github.sha }}"
echo "actor: ${{ github.actor }}"
echo "triggering: ${{ github.triggering_actor }}"
- name: Dump full github.event payload
env:
GITHUB_EVENT_JSON: ${{ toJSON(github.event) }}
run: |
echo "$GITHUB_EVENT_JSON" | jq .