Adding CI Monitor Improvements (#13462)
This commit is contained in:
8
.github/workflows/ci-failure-monitor.yml
vendored
8
.github/workflows/ci-failure-monitor.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user