Skip to content

luolanzone/github-actions

Repository files navigation

github-actions

A repo to test github actions and workflows

Useful API

  • 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) }}"

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors