In ./github/workflows, we have a fix-lint workflow which the human users can run on a PR by applying a label (lint-fix). This workflow doesn't work right, on two issues:
1) Frontend linting from this workflow can give errors that the regular lint workflow that runs on CI doesn't. Find the regular lint and make sure that lint-fix fixes the same thing. Maybe it needs to use the same deps, or maybe the command it runs needs to be the same.
2) If frontend fix lint step fails, then the python attempt to fix python linting never gets to run. This is the wrong behavior, we need to run the python step.
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
In ./github/workflows, we have a fix-lint workflow which the human users can run on a PR by applying a label (lint-fix). This workflow doesn't work right, on two issues:
1) Frontend linting from this workflow can give errors that the regular lint workflow that runs on CI doesn't. Find the regular lint and make sure that lint-fix fixes the same thing. Maybe it needs to use the same deps, or maybe the command it runs needs to be the same.
2) If frontend fix lint step fails, then the python attempt to fix python linting never gets to run. This is the wrong behavior, we need to run the python step.
OpenHands Installation
Other
OpenHands Version
No response
Operating System
None
Logs, Errors, Screenshots, and Additional Context
No response