github

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package github implements a client to requesta short lived token from github actions.

Shamelessly stolen from https://pkg.go.dev/github.com/sigstore/cosign/v2/pkg/providers/github but adapted here to avoid pulling down all sigstore/cosign and, thus, the world.

Index

Constants

View Source
const (
	VariableGitHubRequestURL   = "ACTIONS_ID_TOKEN_REQUEST_URL"
	VariableGitHubRequestToken = "ACTIONS_ID_TOKEN_REQUEST_TOKEN"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Actions

type Actions struct{}

func (*Actions) Provide

func (actions *Actions) Provide(ctx context.Context, audience string) (*oauthflow.OIDCIDToken, error)

Provide requests a token from github actions

Jump to

Keyboard shortcuts

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