-
Notifications
You must be signed in to change notification settings - Fork 139
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
Linter shows failure, and files which failed linting, but is not making comments on the code in the files via of the PR #608
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This should not be closed since there is yet to be a response. |
This is not related. I'll try to provide more details. Right now, when I use this action, I can see the action run: |
What happens when you click on the "Check failure…" link? Looking at https://github.com/wearerequired/lint-action-test/runs/4766567874 and still seems to work. |
Yeah, that works, but you're limited to 50 errors, so if you have more than that, there's no way to see just the errors on your PR nor to see them contextually within your files changed. Having the files changed work allows devs to naturally see the linter messages, which means it is more present in a developers workflow (and thus will be more likely to get fixed) |
That's correct, this limitation is forced by GitHub. It's recommended to fix all issues first before using a linter action. |
Right, but even when I fix those errors, it does not show on the files tab. |
Do you have an example? https://github.com/wearerequired/lint-action-test/pull/6/files shows them correctly. |
Yup, here is a repo I published here: Where the linter ran successfully with errors found here: But the files are not adding annotations on the files tab: |
Based on the |
Thanks for catching that. I'm not entirely sure I see where it is failing, but I'll trust you've understood it. It sounds like a windows issue for sure though, which is indicative of where I'm see the problem (windows containers). |
Using an ASP.NET Framework (.NET Framework v4.7.2) solution with many projects (51) in the solution, linting fails to show on the files which have changes violating the editorconfig rules. The linter fails, and by clicking the red x in the PR to see the check failure, the annotations show, but on the files tab of the PR, the annotations are missing. An example of this page is:
#606**
Tool: dotnet format
Action: Runs on windows-latest
Pre-requisites: Runs the following:
Runs the linter with the commands:
The text was updated successfully, but these errors were encountered: