Repository navigation
Commit ae20e7e
committed
ci: give pip-audit a cache folder the runner owns
The Vulnerable Dependency Check fails on every pull request with
"PermissionError: /home/runner, writable by another user". pip-audit
looks up its default cache under the home folder through platformdirs,
and platformdirs 4.14.8 refuses a home folder that another user can
write to, which the self-hosted runner's is. Passing --cache-dir with the
job's own temp folder skips that lookup.1 parent be85362 commit ae20e7e
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
0 commit comments