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
8
.github/workflows/vuln-watch.yml
vendored
8
.github/workflows/vuln-watch.yml
vendored
@@ -19,6 +19,11 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: '25'
|
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:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -98,7 +103,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SCAN_DATE: ${{ github.run_started_at }}
|
SCAN_DATE: ${{ github.run_started_at }}
|
||||||
# Cron runs have no `inputs` context, so the fallback kicks in.
|
# Cron runs have no `inputs` context, so the fallback kicks in.
|
||||||
WINDOW_HOURS: ${{ inputs.window_hours || '25' }}
|
WINDOW_HOURS: ${{ inputs.window_hours || '25' }}
|
||||||
|
RECONSIDER_AGE_DAYS: ${{ inputs.reconsider_age_days || '7' }}
|
||||||
run: python -m scripts.vuln_watch.fetch_and_diff
|
run: python -m scripts.vuln_watch.fetch_and_diff
|
||||||
|
|
||||||
# ---- Fetch checker code so Claude can grep it for coverage ---------
|
# ---- Fetch checker code so Claude can grep it for coverage ---------
|
||||||
|
|||||||
Reference in New Issue
Block a user