Adding CI Monitor Improvements (#13462)

This commit is contained in:
Douglas Yang
2025-11-17 18:42:35 -08:00
committed by GitHub
parent 7119d188f6
commit d7984f3125
3 changed files with 684 additions and 170 deletions

View File

@@ -6,9 +6,9 @@ on:
workflow_dispatch:
inputs:
limit:
description: 'Number of workflow runs to analyze'
description: 'Number of workflow runs to analyze (across all workflows)'
required: false
default: '300'
default: '800'
type: string
threshold:
description: 'Alert threshold for consecutive failures'
@@ -51,8 +51,8 @@ jobs:
cd scripts/ci_monitor
python ci_failures_analysis.py \
--token $GITHUB_TOKEN \
--limit ${{ inputs.limit || '300' }} \
--threshold ${{ inputs.threshold || '2' }} \
--limit ${{ inputs.limit || '800' }} \
--threshold ${{ inputs.threshold || '4' }} \
--output ci_failure_analysis_$(date +%Y%m%d_%H%M%S).json
- name: Upload Analysis Results