Skip to content

Commit 4332983

Browse files
committed
Disable uv cache to prevent cache poisoning
A malicious PR could poison the uv cache and affect subsequent runs. Disable caching on both the test and release jobs — the ~10s install time is not worth the attack surface.
1 parent 36903b3 commit 4332983

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ jobs:
8585
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
8686
with:
8787
python-version-file: "posit-bakery/pyproject.toml"
88+
enable-cache: false
8889

8990
- name: Install dependencies
9091
working-directory: ./posit-bakery
@@ -213,6 +214,7 @@ jobs:
213214
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
214215
with:
215216
python-version-file: "posit-bakery/pyproject.toml"
217+
enable-cache: false
216218

217219
- name: Install dependencies
218220
working-directory: ./posit-bakery

.github/workflows/issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
project-url: https://github.com/orgs/posit-dev/projects/17
2929

3030
- name: Add Default Labels
31-
uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.0
31+
uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3
3232
with:
3333
github_token: ${{ steps.app-token.outputs.token }}
3434
labels: |

0 commit comments

Comments
 (0)