From 00bb4a951c77c81a47697c40c9e5d97c926f6249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Sun, 19 Apr 2026 12:46:56 +0000 Subject: [PATCH] workflow: expose reconsider_age_days input + env var --- .github/workflows/vuln-watch.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/vuln-watch.yml b/.github/workflows/vuln-watch.yml index fce1db3..0dac1d6 100644 --- a/.github/workflows/vuln-watch.yml +++ b/.github/workflows/vuln-watch.yml @@ -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 @@ -98,7 +103,8 @@ jobs: env: SCAN_DATE: ${{ github.run_started_at }} # 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 # ---- Fetch checker code so Claude can grep it for coverage ---------