Skip to content

Commit 48c3b4f

Browse files
ENH: Add grype Pixi task
* Add a Pixi task that executes grype but with 'pixi exec' to make it transient and to avoid adding grype to the default environment.
1 parent ee4ddf9 commit 48c3b4f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pixi.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ requires-pixi = ">=0.67.0"
99
# month window to find security issues
1010
exclude-newer = "30d"
1111

12-
[tasks]
12+
[tasks.grype]
13+
description = "Scan environment for security vulnerabilities with grype"
14+
cmd = "pixi exec grype .pixi/envs/default"
1315

1416
[dependencies]
1517
anaconda-client = "==1.14.1"

0 commit comments

Comments
 (0)