Module context

Source
Expand description

Context related utilities

This is the object that the worker inject into your application.

You may want to check out Context to find the available variable and GitHub’s documentation.

To obtain the context, use the method get_context which hydrates the object with all the values from the environment variables

Structs§

Context
Context class injected by the action worker.
Repo
Container of two small values, owner and repo

Functions§

get_context
Gets environment variables provided by GitHub and injects them into an object