MCPcopy
hub / github.com/ossf/scorecard / getJobStrategyMatrixRows

Function getJobStrategyMatrixRows

checks/fileparser/github_workflow.go:144–149  ·  view source on GitHub ↗
(job *actionlint.Job)

Source from the content-addressed store, hash-verified

142}
143
144func getJobStrategyMatrixRows(job *actionlint.Job) map[string]*actionlint.MatrixRow {
145 if job != nil && job.Strategy != nil && job.Strategy.Matrix != nil {
146 return job.Strategy.Matrix.Rows
147 }
148 return nil
149}
150
151func getJobStrategyMatrixIncludeCombinations(job *actionlint.Job) []*actionlint.MatrixCombination {
152 if job != nil && job.Strategy != nil && job.Strategy.Matrix != nil && job.Strategy.Matrix.Include != nil &&

Callers 1

GetOSesForJobFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected