Commit 23752f2
committed
Step.7 monitor-updates: form-default fixes - critical_elapsed_days 7->3 + updateRing ''
Two form-default cleanups in the Step.7 YAML templates (GH Actions + ADO):
1. critical_elapsed_days default 7 -> 3
The v0.7.99 release lowered the CRITICAL overall-elapsed tier from 7
to 3 days. The inline script default was updated correctly
($criticalElapsedDays = 3) and the help-text reads "default 3 days",
but the workflow_dispatch / pipeline-parameter default value was left
at '7'. When an operator leaves the input untouched the form-default
'7' is non-empty, so the override path runs and silently restores the
old threshold.
2. updateRing default 'Wave1' -> '' (empty)
Matches Step.8 + Step.9 which already use default: ''. The downstream
guard `if ($scope -eq 'by-update-ring' -and $updateRing)` honours empty
as "no filter", so behaviour is unchanged for the default scope='all'
path. Removes the misleading "Wave1" value that suggested a real
default exists when the operator switches to scope=by-update-ring.
Files changed:
Automation-Pipeline-Examples/github-actions/Step.7_monitor-updates.yml
Automation-Pipeline-Examples/azure-devops/Step.7_monitor-updates.yml1 parent c490d26 commit 23752f2
2 files changed
Lines changed: 4 additions & 4 deletions
File tree
- AzLocal.UpdateManagement/Automation-Pipeline-Examples
- azure-devops
- github-actions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments