internal

package
v0.0.0-...-1935935 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

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

func GitHubClient(action *githubactions.Action, tokenVar string) *github.Client

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.

func ReadEvent

func ReadEvent(action *githubactions.Action) (any, error)

ReadEvent reads event from GITHUB_EVENT_PATH path.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL