Include problem matcher so issues are highlighted in PRs
EX: https://github.com/xt0rted/markdownlint-problem-matcher/blob/master/.github/problem-matcher.json The matcher needs to be registered as part of the action rather than manually added to repos registered like https://github.com/dotnet/docs/blob/c3a769228cb87c7394a5baaffc7a28f6d1fc24bd/.github/workflows/markdownlint.yml#L30
Here are the registration lines from that repo from the API instead of the commandline https://github.com/xt0rted/markdownlint-problem-matcher/blob/31939ffafb5b423ffafae13bd3aad77d36481133/src/main.ts#L19-L25
@nschonni this action will annotate the pull-request.
Sorry, are you saying it should be doing this now, or will in the future?
This github action (cspell-action) now works. It will report errors in pull-requests and mark the files with warnings.
There are some more options that need to be implimented:
- specify the path to the config file
- specify a list files
- option to fail the build if spelling errors are found
- output a summary of the results.
~I tried this action and there are not review comments for problematic lines :-( Was that supposed to work already or is that not yet implemented (can't quite get it from the last comment: what does "report errors in pull-requests" mean)?~
Now the review comments showed up -> PR comments for typos work!