Skip to content

Commit d739be4

Browse files
authored
Merge pull request #3378 from pateljannat/ci/pip-audit-cache-dir
ci: give pip-audit a cache folder the runner owns
2 parents be85362 + ae20e7e commit d739be4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/linters.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,6 @@ jobs:
104104
- name: Install and run pip-audit
105105
run: |
106106
pip install pip-audit
107-
pip-audit --desc on .
107+
# Its default cache sits under the home folder, which platformdirs refuses on this
108+
# self-hosted runner ("writable by another user"); the job's own temp folder is fine.
109+
pip-audit --desc on --cache-dir "$RUNNER_TEMP/pip-audit-cache" .

0 commit comments

Comments
 (0)