github.com/anchore/syft@v1.38.2/syft/pkg/github.go (about)

     1  package pkg
     2  
     3  // GitHubActionsUseStatement represents a single 'uses' statement in a GitHub Actions workflow file referencing an action or reusable workflow.
     4  type GitHubActionsUseStatement struct {
     5  	// Value is the action reference (e.g. "actions/checkout@v3")
     6  	Value string `json:"value"`
     7  
     8  	// Comment is the inline comment associated with this uses statement
     9  	Comment string `json:"comment,omitempty"`
    10  }