mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2026-04-20 07:33:20 +02:00
chore: workflow: save logs
This commit is contained in:
committed by
GitHub
parent
f2e5999fc0
commit
5c27284119
13
.github/workflows/vuln-scan.yml
vendored
13
.github/workflows/vuln-scan.yml
vendored
@@ -78,11 +78,20 @@ jobs:
|
|||||||
SCAN_DATE: ${{ github.run_started_at }}
|
SCAN_DATE: ${{ github.run_started_at }}
|
||||||
with:
|
with:
|
||||||
model: claude-opus-4-7
|
model: claude-opus-4-7
|
||||||
|
claude_args: |
|
||||||
|
--model claude-sonnet-4-6 --allowedTools "Read,Write,Edit,Bash,Grep,Glob,WebFetch"
|
||||||
prompt: |
|
prompt: |
|
||||||
Read the full task instructions from .github/workflows/daily_vuln_scan_prompt.md and execute them end-to-end. That file fully specifies: sources to poll, how to read and update state/seen.json, the 25-hour window, which rss_YYYY-MM-DD_*.md files to write, and the run guardrails. Use $SCAN_DATE (env var) as "now" for time-window decisions.
|
Read the full task instructions from .github/workflows/daily_vuln_scan_prompt.md and execute them end-to-end. That file fully specifies: sources to poll, how to read and update state/seen.json, the 25-hour window, which rss_YYYY-MM-DD_*.md files to write, and the run guardrails. Use $SCAN_DATE (env var) as "now" for time-window decisions.
|
||||||
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
||||||
allowed_tools: "Read,Write,Edit,Bash,Grep,Glob,WebFetch"
|
|
||||||
timeout_minutes: 15
|
- name: Upload Claude execution log
|
||||||
|
if: always() # keep the log even if the scan step failed
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: claude-execution-log-${{ github.run_id }}
|
||||||
|
path: ${{ steps.scan.outputs.execution_file }}
|
||||||
|
retention-days: 30
|
||||||
|
if-no-files-found: warn
|
||||||
|
|
||||||
# ---- Persist outputs -------------------------------------------------
|
# ---- Persist outputs -------------------------------------------------
|
||||||
- name: Prune state (keep only entries from the last 30 days)
|
- name: Prune state (keep only entries from the last 30 days)
|
||||||
|
|||||||
Reference in New Issue
Block a user