Describe the bug
The super-linter API over reports languages linted when adding the status to a pull request.
For example a recent PR in my repo has the following:

I have no Java or R code in my repo.
I noticed it particularly since the R linter was added and have a theory.
What I suspect is happening is to do with this line of code:
which then goes on to call CallStatusAPI.
I suspect it's saying "JAVA" is in "JAVASCRIPT_ES", and "R" is in "JAVASCRIPT_ES" and also "MARKDOWN", hence why they are being include for reporting (with 0 errors since they weren't actually run).
This Stackoverflow answer gives a better method to test if a value is in an array by adding spaces on either side.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The linter should only list languages actually linted. Especially when you explicitly enable only the languages you want (as I do) and R is not enabled.
Screenshots
As per above
Additional context
Theory given above.
Describe the bug
For commits involving changes in Java files, the ansible linter is somehow invoked, it finds no issues and finishes the lint checks.
Console output of the github actions ci
2020-10-22 10:33:15 [INFO ] ------ File list to check: ------
2020-10-22 10:33:15 [INFO ] ---------------------------------
2020-10-22 10:33:15 [INFO ] ----------------------------------------------
2020-10-22 10:33:15 [INFO ] Successfully gathered list of files...
2020-10-22 10:33:15 [INFO ] ----------------------------------------------
2020-10-22 10:33:15 [INFO ] ----------------------------------------------
2020-10-22 10:33:15 [INFO ] Linting [Ansible] files...
2020-10-22 10:33:15 [INFO ] ----------------------------------------------
2020-10-22 10:33:15 [INFO ] ----------------------------------------------
2020-10-22 10:33:17 [INFO ] ----------------------------------------------
2020-10-22 10:33:17 [INFO ] ----------------------------------------------
2020-10-22 10:33:17 [INFO ] Generated reports:
with VALIDATE_ALL_CODEBASE: false
It worked as expected for changes in markdown and yaml files though.
Expected behaviour
Only the Java linter should run
@aayushsanghavi the code base changed a lot since this issue was opened. I think you're experiencing a different problem.
Can you open a new issue, and attach a log after setting ACTION_RUNNER_DEBUG=true? thanks!
Most helpful comment
@aayushsanghavi the code base changed a lot since this issue was opened. I think you're experiencing a different problem.
Can you open a new issue, and attach a log after setting
ACTION_RUNNER_DEBUG=true? thanks!