LifeMate — Personal, Family & Learning Companion
chore: fix final analyzer finding
davoodmehraban89 committed
Oct 5, 2026 at 19:53 UTC
e161c37fc0cefd6d93c2f577d46b6bbe8ddb004d
1 file changed
+19
.github/workflows/fix-last-lint.yml
new
+19
@@ -0,0 +1,19 @@
1
+name: Fix Last Lint
2
+on:
3
+ push:
4
+ branches: ['final-feature-1/iran-family-school']
5
+permissions:
6
+ contents: write
7
+jobs:
8
+ fix:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ with: {ref: final-feature-1/iran-family-school}
13
+ - run: |
14
+ python - <<'PY'
15
+ from pathlib import Path
16
+ p=Path('apps/lifemate/lib/iran_hub.dart');s=p.read_text().replace('if(!s.hasData)return const Center(child:CircularProgressIndicator());','if(!s.hasData){return const Center(child:CircularProgressIndicator());}');p.write_text(s)
17
+ PY
18
+ if git diff --quiet; then exit 0; fi
19
+ git config user.name 'github-actions[bot]'; git config user.email '41898282+github-actions[bot]@users.noreply.github.com'; git add apps/lifemate/lib/iran_hub.dart; git commit -m 'fix: wrap final hub loading guard'; git push origin HEAD:final-feature-1/iran-family-school