A repo to test github actions and workflows
- Get repo's workflow definition
curl \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/luolanzone/github-actions/actions/workflows
- Get workflow runs
curl \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/luolanzone/github-actions/actions/runs
- Get public events
All github events are here
curl \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/luolanzone/github-actions/events > events.json
- A way to print context
steps:
- name: Echo github obj
run: echo "${{ toJson(github) }}"