-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for summaries in GitHubActionsFormatter
#531
Conversation
a532d26
to
0276be9
Compare
output.puts "| %s | %s | %s | %s |" % { | ||
issue_location_value(issue) || "-", | ||
issue.rule.severity, | ||
issue.rule.name, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: Maybe the rule name could include a link to the documentation? This could be a future enhancement, of course.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about it, although atm we could only link directly to the ameba repo, since we don't have versioned docs (yet).
See related discussion in vscode-crystal-ameba repo: crystal-ameba/vscode-crystal-ameba#146 (comment)
40dec81
to
6694730
Compare
6694730
to
abb4d01
Compare
abb4d01
to
d8e7136
Compare
d8e7136
to
5ad69d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👏🏻
8c76a26
to
5ad69d3
Compare
Example summaries: https://github.com/crystal-ameba/ameba/actions/runs/12215160683
Followup to #527
Refs crystal-ameba/github-action#19