Documentation
¶
Index ¶
- func AttachWorkflowPositions(g *sdk.Graph, projectDir string)
- type Detector
- func (d Detector) Applicable(ctx context.Context, req sdk.DetectionRequest) (bool, error)
- func (d Detector) Descriptor() sdk.DetectorDescriptor
- func (d Detector) PackageManagerSupport() []sdk.PackageManagerSupport
- func (d Detector) Ready() bool
- func (d Detector) ResolveGraph(_ context.Context, req sdk.DetectionRequest) (sdk.DetectionResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachWorkflowPositions ¶
AttachWorkflowPositions wires workflow / action.yml line numbers into the resolved graph.
Types ¶
type Detector ¶
type Detector struct{}
Detector resolves GitHub Actions dependency graphs from workflow and action manifests.
func (Detector) Applicable ¶
Applicable reports whether GitHub workflow or local action manifests are present.
func (Detector) Descriptor ¶
func (d Detector) Descriptor() sdk.DetectorDescriptor
Descriptor describes the GitHub Actions detector.
func (Detector) PackageManagerSupport ¶
func (d Detector) PackageManagerSupport() []sdk.PackageManagerSupport
PackageManagerSupport returns GitHub Actions package-manager discovery metadata.
func (Detector) ResolveGraph ¶
func (d Detector) ResolveGraph(_ context.Context, req sdk.DetectionRequest) (sdk.DetectionResult, error)
ResolveGraph resolves a GitHub Actions dependency graph from workflow and action manifests.
Click to show internal directories.
Click to hide internal directories.