Closed amezin closed 2 years ago
https://docs.github.com/en/rest/reference/checks#annotations-items suggests that notice
may be supported too (but not note
that shellcheck outputs)
I switched to https://github.com/bewuethr/shellcheck-action and it works out of the box
I switched to https://github.com/bewuethr/shellcheck-action and it works out of the box
I haven't tried it (yet) but it looks like that action doesn't implement annotations at all
I switched to bewuethr/shellcheck-action and it works out of the box
I haven't tried it (yet) but it looks like that action doesn't implement annotations at all
Just verified it does not.
Reviewdog supports it, if you want shellcheck w/ Github Annotations.
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
path: "." # Optional.
pattern: "*.sh" # Optional.
filter_mode: nofilter # Optional.
fail_on_error: true
Describe the issue
In the default configuration, no annotations are created for "notes".
I guess it's because Github Actions don't understand what "note" is - https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md:
Links