Skip to content

Commit 18fafef

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Set persist-credentials: false on checkout actions.
See https://docs.zizmor.sh/audits/#artipacked. Compare jspecify/jspecify#861 RELNOTES=n/a PiperOrigin-RevId: 956568861
1 parent dec2139 commit 18fafef

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
steps:
2121
- name: 'Check out repository'
2222
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
23+
with:
24+
persist-credentials: false
2325
- name: 'Set up JDK 26 for compilation'
2426
uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95
2527
with:
@@ -51,6 +53,8 @@ jobs:
5153
steps:
5254
- name: 'Check out repository'
5355
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
56+
with:
57+
persist-credentials: false
5458
- name: 'Set up JDK ${{ matrix.java }} for testing'
5559
uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95
5660
with:
@@ -81,6 +85,8 @@ jobs:
8185
steps:
8286
- name: 'Check out repository'
8387
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
88+
with:
89+
persist-credentials: false
8490
- name: 'Set up JDK 26'
8591
uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95
8692
with:
@@ -106,6 +112,8 @@ jobs:
106112
steps:
107113
- name: 'Check out repository'
108114
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
115+
with:
116+
persist-credentials: false
109117
- name: 'Set up JDK 26'
110118
uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95
111119
with:

0 commit comments

Comments
 (0)