{"repo":"liskin/gh-problem-matcher-wrap","free":true,"listed":false,"github":"https://github.com/liskin/gh-problem-matcher-wrap","clone":"git clone https://github.com/liskin/gh-problem-matcher-wrap.git","description":"Invoke linters, detect errors/warnings, show them as annotations. Supports PRs from forks, unlike other Actions.","language":"JavaScript","stars":25,"topics":["github","github-actions","problem-matcher","linter","ci","continuous-integration","continuous-testing","hacktoberfest"],"license":"MIT","category":"dev-tools","readme_excerpt":"GitHub Action: Problem Matcher wrapper Linter errors as annotations, even for fork PRs. Wrap your linter invocations with [Problem Matcher][] [add/remove][] to let GitHub actions detect any errors and warnings and show them as annotations. As opposed to existing Actions which use the Checks API, this one works correctly even for Pull Requests from forks, which is otherwise [problematic][problem] and probably isn't getting fixed [any time soon][problem-detail]. [Problem Matcher]: https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md [add/remove]: https://github.com/actions/toolkit/blob/master/docs/commands.md#problem-matchers [problem]: https://github.com/actions/toolkit/issues/133 [problem-detail]: https://github.com/actions/toolkit/issues/133#issuecomment-535514071 Problem Matcher wrapper works differently (and happens to be much simpler): 1. Tell GitHub Actions how to recognize errors in linter output 2. Run the linter, any way you like (run command, docker, another action, …) 3. Tell GitHub Actions to stop looking for errors of this particular linter so that we can safely run other linters A screenshot and an example (further down) is worth a thousand words: Usage Parameters linters Comma or whitespace separated list of Problem Matchers to add/remove. (Required) run Command to run. (Required unless action is add or remove ) action If set to add or remove , do not run any command, just add/remove Problem Matchers. (Default: run ) Supported linters flake8 g","default_branch":null,"files":null,"tree":[],"storefront":"/r/liskin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/liskin/gh-problem-matcher-wrap/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}