Skip to content

Commit 905402e

Browse files
fix(ci): publish review-coverage inventory on audit dispatches too
1 parent 970af34 commit 905402e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/sweep.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2526,7 +2526,11 @@ jobs:
25262526
--ref main
25272527
25282528
- name: Summarize trailing weekly review coverage
2529-
if: ${{ github.event.schedule == '37 */6 * * *' }}
2529+
# Also runs for operator dispatches of the audit lane: the signed live
2530+
# inventory is what gives /api/review-coverage its true denominator, and
2531+
# gating it on one cron string left the metric reporting "missing" for
2532+
# up to six hours after a deploy or an on-demand audit.
2533+
if: ${{ github.event.schedule == '37 */6 * * *' || (github.event_name == 'workflow_dispatch' && github.event.inputs.audit_dashboard == 'true') }}
25302534
env:
25312535
GH_TOKEN: ${{ github.token }}
25322536
CLAWSWEEPER_DISPATCH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)