syft/syft/pkg/github.go
Alex Goodman a77d24e379
Improve struct and field comments and incorporate into json schema (#4252)
* improve struct and field comments and incorporate into json schema

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* address review feedback

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

---------

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
2025-10-03 17:01:56 +00:00

11 lines
405 B
Go

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