Skip to content

dhimmel/dump-actions-context

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Materialized GitHub Actions contexts by event type

Runs GitHub actions and dumps contexts to see what variables are available. This can be helpful when writing GitHub actions workflows that use context variables. Since the available context variables depend on the event type, this repository aims to capture as many event types as possible. Contributions are welcome to add additional event types.

Contexts

Contexts are combined into a single JSON file and written back to the repository in the contexts directory. The JSON files are also exported in gron format for easy identification of the absolute path to a value.

You can also search for workflow runs by event type:

One benefit of the workflow logs is that gron output has syntax highlighting. However, workflow logs are only retained for 90 days, so for many event types, only the materialized files committed back to the repository will be available.

References

About

Expose GitHub actions context based on the workflow event type

Topics

Resources

License

Stars

Watchers

Forks