We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55c2ffc commit 3fc9b7dCopy full SHA for 3fc9b7d
1 file changed
.github/workflows/ci-cd.yml
@@ -171,7 +171,7 @@ jobs:
171
name: Model Performance Check
172
runs-on: ubuntu-latest
173
needs: data-validation
174
- if: github.event_name == 'pull_request'
+ if: always() && needs.data-validation.result == 'success'
175
steps:
176
- name: Checkout code
177
uses: actions/checkout@v4
@@ -286,8 +286,8 @@ jobs:
286
monitoring-setup:
287
name: Setup Monitoring and Alerts
288
289
- needs: build
290
- if: github.ref == 'refs/heads/main'
+ needs: [data-validation, security-scan]
+ if: always() && (needs.data-validation.result == 'success' && needs.security-scan.result == 'success')
291
292
293
0 commit comments