Repository navigation
Done
Labels
effort/lowEffort Low: little workpriority/p2-mediumPriority P2: standard workscope/ciGitHub Actions workflows, pre-commit hooks, CI gates, and runnerssource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Description
Problem Description
Three workflows have gaps.
Image Rescandoes not scan one published image.release.ymlpublishes five images:service,runner,mcp-server,uv-seedanddevcontainer. The matrix of.github/workflows/image-rescan.ymlholds four of them and notuv-seed. The requirement "Daily rescan of published images" ofopenspec/specs/ci-image-scan/spec.mdlists the same four. So the daily run does not report a vulnerability ofuv-seedthat is published after a release.- A pull request that changes only
.node-versionor.trivyignore.yamldoes not startDevContainer Image. The job reads the two files: the actionsdevcontainer-imageanddevcontainer-smokegive.node-versiontoactions/setup-node, and.trivyignore.yamlis the defaultignore-fileof the actionimage-scan. The filteron.pull_request.pathsof.github/workflows/devcontainer-image.ymlnames neither file. Copilot Setup Stepsruns two times for one change of a pull request branch. In.github/workflows/copilot-setup-steps.yml,pushhasbranches: ["**"],pull_requesthas the same paths, and the workflow has no concurrency group.
Reproduction Steps
- List the jobs of rescan run 46355724738:
uv run devops gh api 'repos/{owner}/{repo}/actions/runs/46355724738/jobs' --jq '.jobs[].name'. It names four images. - Read
on.pull_request.pathsofdevcontainer-image.yml. - List the setup runs of one branch:
uv run devops gh api 'repos/{owner}/{repo}/actions/workflows/copilot-setup-steps.yml/runs?branch=renovate/patch-devtools'. Commit8ef5de1364186aedff8db5346024d3d5109a1ce3has run 46482898847 forpushand run 46482917767 forpull_request.
Expected vs Actual Behavior
Expected: the daily rescan covers each published image, a pull request that changes an input of the DevContainer image builds it, and one change of a pull request branch starts one setup run.
Actual: the rescan covers four of five images, two inputs start no build, and one commit gets two setup runs.
Proposed Solution
- Add
uv-seedto the matrix ofimage-rescan.ymland to the requirement of the specci-image-scan. - Add
.node-versionand.trivyignore.yamlto the paths filter ofdevcontainer-image.ymland to the specci-devcontainer-image. - In
copilot-setup-steps.yml, run onpushonly formain, and add one concurrency group for each ref.
Acceptance Criteria
uv run devops ci --check --only actionlint,zizmor,docspasses.- After the merge, a manual run of
Image Rescanis green and has the jobRescan Image (uv-seed). - No new test reads a workflow file. actionlint, zizmor and a live run are the proof.
Metadata
Metadata
Assignees
Labels
effort/lowEffort Low: little workpriority/p2-mediumPriority P2: standard workscope/ciGitHub Actions workflows, pre-commit hooks, CI gates, and runnerssource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 30, 2026
Both concern the daily image rescan workflow, but #6406 delivered the rescan and the candidate fixes the missing uv-seed entry plus two other trigger gaps.dan-petty commentedon Nov 30, 2026
#7966 delivers this item without one part of the proposed solution: the paths filter of
devcontainer-image.ymlgets.node-versionand not.trivyignore.yaml.IMAGE_CONTENT_PATHSof the jobsService ImageandRunner Imageofci.ymlnames it. fix(security): extend the kubectl Trivy ignores to 2026-12-15 #6574 and fix(security): judge KSV-0125 in crawl4ai deployment.yaml #7809 show the scan steps.--scanners vuln. From 2026-11-01 to 2026-11-30, 27 commits ofmainchanged the ignore file. 24 of them changed no path of the old filter, and only 2 of the 24 changedvulnerabilities:.DevContainer Imageonly reports. The check takes more than the limit of 360 s (fix(ci): DevContainer Image averages over the 360 s limit #7970).If you want the path nevertheless, add the line
- ".trivyignore.yaml"toon.pull_request.pathsand change the requirement ofci-devcontainer-image.devops-cli-service commentedon Nov 30, 2026
Released in v0.265.4: https://github.com/dan-petty/devops-cli/releases/tag/v0.265.4
devops-cli-service commentedon Dec 1, 2026
Live since 2026-12-01 02:48 UTC