1212 outputs :
1313 backend : ${{ steps.changes.outputs.backend }}
1414 frontend : ${{ steps.changes.outputs.frontend }}
15+ learning : ${{ steps.changes.outputs.learning }}
1516 steps :
1617 - uses : actions/checkout@v4
1718 - uses : dorny/paths-filter@v2
2021 filters : |
2122 backend:
2223 - 'rag-api/**'
24+ - 'pnpm-lock.yaml'
25+ - 'pnpm-workspace.yaml'
2326 - '.github/workflows/**'
2427 frontend:
2528 - 'rag-ui/**'
29+ - 'pnpm-lock.yaml'
30+ - 'pnpm-workspace.yaml'
31+ - '.github/workflows/**'
32+ learning:
33+ - 'packages/rag-learning/**'
34+ - 'packages/rag-playground/**'
35+ - 'pnpm-lock.yaml'
36+ - 'pnpm-workspace.yaml'
2637 - '.github/workflows/**'
2738
2839 backend :
@@ -35,13 +46,19 @@ jobs:
3546 if : ${{ needs.changes.outputs.frontend == 'true' }}
3647 uses : ./.github/workflows/test-frontend.yml
3748
49+ learning :
50+ needs : changes
51+ if : ${{ needs.changes.outputs.learning == 'true' }}
52+ uses : ./.github/workflows/test-learning.yml
53+
54+ # Security scan job kept but skipped; set `if` to always() && (...) and uncomment triggers in security.yml to re-enable.
3855 security :
39- needs : [backend, frontend]
40- if : always() && (needs.backend.result != 'skipped' || needs.frontend.result != 'skipped')
56+ needs : [backend, frontend, learning ]
57+ if : false
4158 uses : ./.github/workflows/security.yml
4259
4360 docker :
44- needs : [backend, frontend]
61+ needs : [backend, frontend, learning ]
4562 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
4663 uses : ./.github/workflows/docker-build.yml
4764 secrets : inherit
0 commit comments