Skip to content
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

include a problem matcher #99

Open
1 task done
airtonix opened this issue Dec 12, 2023 · 3 comments
Open
1 task done

include a problem matcher #99

airtonix opened this issue Dec 12, 2023 · 3 comments

Comments

@airtonix
Copy link

airtonix commented Dec 12, 2023

Checklist

  • This Feature Request only contains 1 request (if you have multiple open multiple feature requests).

The idea

problem matchers will make github annotate source files with violations.

Implementation

How do you see this being implemented?

Alternatives

Are there any alternative solutions or features you've considered?

Additional context

@airtonix
Copy link
Author

possible solution:

{
  "problemMatcher": [
    {
      "owner": "shellcheck-gcc",
      "pattern": [
        {
          "regexp": "^(.*):(\\d+):(\\d+):\\s+(note|error|warning|info):\\s+(.*)\\s\\[(.*)\\]$",
          "file": 1,
          "line": 2,
          "column": 3,
          "severity": 4,
          "message": 5,
          "code": 6
        }
      ]
    }
  ]
}

@ludeeus
Copy link
Owner

ludeeus commented Dec 12, 2023

This was there before, but then GitHub changed how it worked, so it stopped working, and at that time, there was no documentation for it.
Is there documentation now?
If not, this is not something I'm willing to add back.

@airtonix
Copy link
Author

airtonix commented May 9, 2024

https://github.com/actions/toolkit/blob/main/docs/problem-matchers.md

it's the problem we at Reckon have been using for the last couple of years.

from today:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants