diff --git a/pkg/config/output.go b/pkg/config/output.go index 6a26d5773e76..458a5e7d7513 100644 --- a/pkg/config/output.go +++ b/pkg/config/output.go @@ -18,7 +18,7 @@ const ( OutFormatHTML = "html" OutFormatJunitXML = "junit-xml" OutFormatJunitXMLExtended = "junit-xml-extended" - OutFormatGithubActions = "github-actions" // Deprecated + OutFormatGithubActions = "github-actions" // Deprecated: use OutFormatColoredLineNumber instead. OutFormatTeamCity = "teamcity" OutFormatSarif = "sarif" ) diff --git a/pkg/printers/githubaction.go b/pkg/printers/githubaction.go index d9cdb1e6e603..346600d88b61 100644 --- a/pkg/printers/githubaction.go +++ b/pkg/printers/githubaction.go @@ -15,7 +15,8 @@ type GitHubAction struct { } // NewGitHubAction output format outputs issues according to GitHub Action. -// Deprecated +// +// Deprecated: use NewText instead. func NewGitHubAction(w io.Writer) *GitHubAction { return &GitHubAction{w: w} }