ci: align policy OSV scanner inputs
Metadata
Current evaluation
PR #1639 (align policy OSV scanner inputs) was closed unmerged as superseded by #1640, which merged as commit 159bad0d applying the same OSV workflow inputs and root osv-scanner.toml config.
Resolution: closed superseded
Reason: Maintainer lengau commented that it was "Superseded by #1640 from required branch work/fix-osv"; PR #1640 merged to main as commit 159bad0d with the identical change (osv-extra-args, osv-exclude-paths, uv-export-no-groups, removal of requirements-find-args, new osv-scanner.toml).
Evaluated by: mr-cal-bot
No scores available.
Issue body
## Summary
- align `.github/workflows/policy.yaml` security scan inputs with starbase PR #573
- add `osv-extra-args: "--config=osv-scanner.toml"`
- add `osv-exclude-paths` for `docs`
- add `uv-export-no-groups` for `docs` and `docs-sphinx-stack`
- remove `requirements-find-args`
- add root `osv-scanner.toml`
## Dependency/lockfile impact
No dependency or lockfile updates were required. This change only adjusts OSV scan workflow inputs and adds scanner configuration.
## Validation
- targeted checks to confirm required workflow keys are present and `requirements-find-args` is absent
- verified `osv-scanner.toml` exists with expected content
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | PR #1639 (align policy OSV scanner inputs) was closed unmerged as superseded by #1640, which merged as commit 159bad0d applying the same OSV workflow inputs and root osv-scanner.toml config. | |
| stealth/space-bunny-alpha | — | closed superseded | Closed as superseded by merged canonical/craft-parts#1640 (159bad0d), which applied the same OSV workflow and scanner configuration alignment. | |
| stealth/space-bunny-alpha | — | closed superseded | Closed unmerged in favor of PR #1640, which landed as 159bad0d and aligned OSV scanner workflow inputs and configuration. | |
| qwen/qwen3.6-35b-a3b | — | — | Superseded by pull request #1640. Adjusts OSV scanner workflow inputs, adds configuration files, and excludes specific paths to align security scanning policies. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded by #1640. Aligned CI OSV scanner inputs with starbase PR #573, added a root osv-scanner.toml, excluded docs paths, and removed legacy arguments. No dependency updates were required. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Superseded By:
canonical/craft-parts#1640
(confidence 99%)
Duplicate PR from branch work/fix-osv; merged as commit 159bad0d with the same OSV workflow/config alignment.
-
Related To:
canonical/craft-parts#573
(confidence 70%)
Referenced starbase PR #573 that motivated aligning scan inputs.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1640 ci: align policy OSV scanner inputs | craft-parts | merged | PR #1640 merged as commit 159bad0d, aligning .github/workflows/policy.yaml OSV inputs with starbase #573: added osv-extra-args/exclude-paths, uv-export-no-groups, removed requirements-find-args, added root osv-scanner.toml. | |
| #252 ci: align policy OSV scanner inputs with starbase | craft-platforms | closed | Closed as superseded by #253, which merged the same OSV workflow-input and scanner-config alignment in commit 2ac71ad. | |
| #200 ci: align policy OSV scan inputs with starbase | craft-grammar | merged | Merged PR #200 as commit c359e99, adding osv-scanner.toml and aligning policy OSV inputs with starbase by excluding docs and skipping docs UV groups. | |
| #199 ci: align policy OSV scan inputs with starbase | craft-grammar | closed | Closed unmerged as superseded; canonical/craft-grammar#200 merged the same OSV workflow and scanner-config changes in commit c359e99. | |
| #81 ci: align policy scan inputs with starbase PR 573 | craft-actions | closed | PR #81 (add policy.yaml + osv-scanner.toml, align scan-python inputs with starbase#573) was closed unmerged by maintainer lengau, superseded by #82 which used the required work/fix-osv head branch. | |
| #253 ci: align policy OSV scanner inputs with starbase | craft-platforms | merged | Merged PR (canonical/craft-platforms#253) aligned policy.yaml OSV scanner inputs with starbase: added osv-extra-args/--config=osv-scanner.toml, osv-exclude-paths, uv-export-no-groups, dropped requirements-find-args, added root osv-scanner.toml. All CI checks passed. | |
| #988 ci: fix OSV scanner policy workflow | craft-providers | merged | Merged as e6a3482: updated OSV scanner inputs and config, excluded docs paths/groups, and added osv-scanner.toml. All CI checks passed. | |
| #82 ci: align policy scan inputs with starbase | craft-actions | closed | Closed unmerged: the PR added .github/workflows/policy.yaml plus osv-scanner.toml to align scan-python inputs with canonical/starbase#573. lengau closed it 2026-07-14 as unnecessary. | |
| #1130 ci: fix OSV-scanner workflow path and exclude docs-only inputs | craft-application | merged | Merged PR #1130 as commit 235a5cc0, correcting the OSV config path and excluding docs paths and docs-only dependency groups from security scans. | |
| #508 ci: restore osv-scanner configuration in policy workflow | craft-cli | closed | Merged PR #508 to restore OSV-scanner configuration in `.github/workflows/policy.yaml`, excluding `docs` from scans to prevent false positive vulnerability reports. |