Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugEnv ¶
func DebugEnv(action *githubactions.Action)
DebugEnv logs all environment variables that start with `GITHUB_` or `INPUT_` in debug level.
func GitHubClient ¶
GitHubClient returns GitHub API client with token from the given environment variable.
func NewTransport ¶
func NewTransport(source http.RoundTripper, action *githubactions.Action) http.RoundTripper
NewTransport returns a new http.RoundTripper that wraps the source with debug logging.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.