File tree Expand file tree Collapse file tree 1 file changed +4
-22
lines changed
Expand file tree Collapse file tree 1 file changed +4
-22
lines changed Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ main ]
88 schedule :
9- # Run daily at 2 AM UTC
109 - cron : ' 0 2 * * *'
1110 workflow_dispatch :
1211
3736
3837 - name : Download Previous Database
3938 continue-on-error : true
40- run : |
41- gh run download --name test-database --dir . || echo "No previous database found (this is OK for first run)"
42- env :
43- GH_TOKEN : ${{ github.token }}
39+ uses : actions/download-artifact@v4
40+ with :
41+ name : test-database
4442
4543 - name : Run CVSS 4.0 Security Tests
4644 run : |
5048
5149 - name : Upload Database Artifact
5250 if : always()
53- uses : actions/upload-artifact@v3
51+ uses : actions/upload-artifact@v4
5452 with :
5553 name : test-database
5654 path : test_results.db
6967 publish_dir : ./scripts
7068 publish_branch : gh-pages
7169 enable_jekyll : false
72-
73- - name : Display Test Summary
74- if : always()
75- run : |
76- echo "==================================================================="
77- echo "CVSS 4.0 Security Test Results"
78- echo "==================================================================="
79- if [ -f test_results.db ]; then
80- echo "Database exists - check dashboard for details"
81- ls -lh test_results.db
82- else
83- echo "No database found"
84- fi
85- echo "==================================================================="
86- echo "Dashboard URL: https://cvss-report.openmrs.org"
87- echo "==================================================================="
You can’t perform that action at this time.
0 commit comments