Skip to content

Commit 6910ba7

Browse files
committed
Migrate to octokit handling of Annotations
- Allows verbose reporting of Issues in Run Terminal/Log. - Correctly maps Issue Severity to GitHub Severity - Additionally adds support for Severity Failure levels (defaults to 'notice' [all]) - Adds suggested fixes to Annotation Raw Details - Prepares foundation for supporting Comments - Adds support for Multi-Line Annotations - Adds mapping for common Issue Severities to GitHub Severities (Code climate | Checkstyle | GitHub) - Adds handeling of 'Ignore' Issue Severity (removes from Issue List) - Adds support for Character Range Annotations
1 parent e3c53fe commit 6910ba7

File tree

4 files changed

+4281
-808
lines changed

4 files changed

+4281
-808
lines changed

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ inputs:
3232
description: "if set to true then the action don't cache or restore ~/.cache/go-build."
3333
default: false
3434
required: true
35+
failure-level:
36+
description: "lowest issue severity to continue failing on (if golangci-lint exits with exit code 1), defaults to 'notice', may be: 'notice' | 'warning' | 'failure'"
37+
default: "notice"
38+
required: false
3539
runs:
3640
using: "node12"
3741
main: "dist/run/index.js"

0 commit comments

Comments
 (0)