mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2026-04-19 23:23:19 +02:00
workflow: expose reconsider_age_days input + env var
This commit is contained in:
committed by
GitHub
parent
43d5b77885
commit
00bb4a951c
6
.github/workflows/vuln-watch.yml
vendored
6
.github/workflows/vuln-watch.yml
vendored
@@ -19,6 +19,11 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
default: '25'
|
||||
reconsider_age_days:
|
||||
description: 'Only reconsider backlog entries last reviewed ≥ N days ago (0 = all, default 7)'
|
||||
required: false
|
||||
type: string
|
||||
default: '7'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -99,6 +104,7 @@ jobs:
|
||||
SCAN_DATE: ${{ github.run_started_at }}
|
||||
# Cron runs have no `inputs` context, so the fallback kicks in.
|
||||
WINDOW_HOURS: ${{ inputs.window_hours || '25' }}
|
||||
RECONSIDER_AGE_DAYS: ${{ inputs.reconsider_age_days || '7' }}
|
||||
run: python -m scripts.vuln_watch.fetch_and_diff
|
||||
|
||||
# ---- Fetch checker code so Claude can grep it for coverage ---------
|
||||
|
||||
Reference in New Issue
Block a user