@davoodmehraban89 / LifeMate / commits / 7a9702c
Fork 0

LifeMate — Personal, Family & Learning Companion

chore: normalize final hub syntax

davoodmehraban89 committed Oct 5, 2026 at 19:49 UTC 7a9702cc716b99a42d62a227e1d8c677c89e04ff
1 file changed +23
.github/workflows/fix-final-format.yml new
+23
@@ -0,0 +1,23 @@
1 +name: Normalize Final Hub
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('???const[]','?? const []');p.write_text(s)
17 + PY
18 + if git diff --quiet; then exit 0; fi
19 + git config user.name 'github-actions[bot]'
20 + git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
21 + git add apps/lifemate/lib/iran_hub.dart
22 + git commit -m 'fix: normalize final hub null coalescing'
23 + git push origin HEAD:final-feature-1/iran-family-school