Skip to content

πŸ™Œ OpenHands: AI-Driven Development

chore(ci): enhance lint-fix workflow for FE (#10448)

Engel Nyst17b1a212965b
diff --git a/.github/workflows/lint-fix.yml b/.github/workflows/lint-fix.yml
index d2a36feb20..5c0da819a7 100644
--- a/.github/workflows/lint-fix.yml
+++ b/.github/workflows/lint-fix.yml
@@ -29,6 +29,12 @@ jobs:
run: |
cd frontend
npm install --frozen-lockfile
+ - name: Generate i18n and route types
+ run: |
+ cd frontend
+ npm run make-i18n
+ npx react-router typegen || true
+
- name: Fix frontend lint issues
run: |
cd frontend
@@ -45,7 +51,7 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "OpenHands Bot"
git add -A
- git commit -m "πŸ€– Auto-fix frontend linting issues"
+ git commit -m "πŸ€– Auto-fix frontend linting issues" --no-verify
git push
# Python lint fixes
@@ -87,5 +93,5 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "OpenHands Bot"
git add -A
- git commit -m "πŸ€– Auto-fix Python linting issues"
+ git commit -m "πŸ€– Auto-fix Python linting issues" --no-verify
git push