Skip to content

Commit d9f73cf

Browse files
committed
ci: persist checkout credentials for release validation
1 parent 5e8c71b commit d9f73cf

5 files changed

Lines changed: 30 additions & 30 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
ref: ${{ inputs.target_ref || github.sha }}
8282
fetch-depth: 1
8383
fetch-tags: false
84-
persist-credentials: false
84+
persist-credentials: true
8585
submodules: false
8686

8787
- name: Resolve checkout SHA
@@ -304,7 +304,7 @@ jobs:
304304
ref: ${{ inputs.target_ref || github.sha }}
305305
fetch-depth: 1
306306
fetch-tags: false
307-
persist-credentials: false
307+
persist-credentials: true
308308
submodules: false
309309

310310
- name: Ensure security base commit
@@ -1423,7 +1423,7 @@ jobs:
14231423
repository: openclaw/clawhub
14241424
path: clawhub-source
14251425
fetch-depth: 1
1426-
persist-credentials: false
1426+
persist-credentials: true
14271427

14281428
- name: Check docs
14291429
env:
@@ -1442,7 +1442,7 @@ jobs:
14421442
uses: actions/checkout@v6
14431443
with:
14441444
ref: ${{ needs.preflight.outputs.checkout_revision }}
1445-
persist-credentials: false
1445+
persist-credentials: true
14461446
submodules: false
14471447

14481448
- name: Setup Python
@@ -1485,7 +1485,7 @@ jobs:
14851485
uses: actions/checkout@v6
14861486
with:
14871487
ref: ${{ needs.preflight.outputs.checkout_revision }}
1488-
persist-credentials: false
1488+
persist-credentials: true
14891489
submodules: false
14901490

14911491
- name: Try to exclude workspace from Windows Defender (best-effort)
@@ -1578,7 +1578,7 @@ jobs:
15781578
uses: actions/checkout@v6
15791579
with:
15801580
ref: ${{ needs.preflight.outputs.checkout_revision }}
1581-
persist-credentials: false
1581+
persist-credentials: true
15821582
submodules: false
15831583

15841584
- name: Setup Node environment
@@ -1619,7 +1619,7 @@ jobs:
16191619
uses: actions/checkout@v6
16201620
with:
16211621
ref: ${{ needs.preflight.outputs.checkout_revision }}
1622-
persist-credentials: false
1622+
persist-credentials: true
16231623
submodules: false
16241624

16251625
- name: Install XcodeGen / SwiftLint / SwiftFormat

.github/workflows/full-release-validation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
ref: ${{ github.ref_name }}
135135
path: workflow
136136
fetch-depth: 1
137-
persist-credentials: false
137+
persist-credentials: true
138138
submodules: false
139139

140140
- name: Resolve target SHA
@@ -232,7 +232,7 @@ jobs:
232232
with:
233233
ref: ${{ needs.resolve_target.outputs.sha }}
234234
fetch-depth: 1
235-
persist-credentials: false
235+
persist-credentials: true
236236

237237
- name: Verify Docker runtime-assets prune path
238238
env:
@@ -767,7 +767,7 @@ jobs:
767767
- name: Checkout trusted workflow ref
768768
uses: actions/checkout@v6
769769
with:
770-
persist-credentials: false
770+
persist-credentials: true
771771
ref: ${{ github.ref_name }}
772772
fetch-depth: 0
773773

.github/workflows/openclaw-cross-os-release-checks-reusable.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ jobs:
338338
ref: ${{ steps.workflow_ref.outputs.value }}
339339
path: workflow
340340
fetch-depth: 1
341-
persist-credentials: false
341+
persist-credentials: true
342342

343343
- name: Checkout public source ref
344344
if: inputs.candidate_artifact_name == ''
@@ -348,7 +348,7 @@ jobs:
348348
ref: ${{ inputs.ref }}
349349
path: source
350350
fetch-depth: 0
351-
persist-credentials: false
351+
persist-credentials: true
352352
submodules: recursive
353353

354354
- name: Setup Node.js
@@ -537,7 +537,7 @@ jobs:
537537
ref: ${{ needs.prepare.outputs.workflow_ref }}
538538
path: workflow
539539
fetch-depth: 1
540-
persist-credentials: false
540+
persist-credentials: true
541541

542542
- name: Setup Node.js
543543
uses: actions/setup-node@v6

.github/workflows/openclaw-release-checks.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ jobs:
154154
- name: Checkout trusted workflow helper
155155
uses: actions/checkout@v6
156156
with:
157-
persist-credentials: false
157+
persist-credentials: true
158158
ref: ${{ github.ref_name }}
159159
path: workflow
160160
fetch-depth: 1
@@ -175,7 +175,7 @@ jobs:
175175
if: steps.fast_ref.outputs.fallback == 'true'
176176
uses: actions/checkout@v6
177177
with:
178-
persist-credentials: false
178+
persist-credentials: true
179179
ref: ${{ inputs.ref }}
180180
path: source
181181
fetch-depth: 0
@@ -474,7 +474,7 @@ jobs:
474474
- name: Checkout trusted workflow ref
475475
uses: actions/checkout@v6
476476
with:
477-
persist-credentials: false
477+
persist-credentials: true
478478
ref: ${{ github.ref_name }}
479479
fetch-depth: 0
480480

@@ -765,7 +765,7 @@ jobs:
765765
- name: Checkout selected ref
766766
uses: actions/checkout@v6
767767
with:
768-
persist-credentials: false
768+
persist-credentials: true
769769
ref: ${{ needs.resolve_target.outputs.revision }}
770770
fetch-depth: 1
771771

@@ -836,7 +836,7 @@ jobs:
836836
- name: Checkout selected ref
837837
uses: actions/checkout@v6
838838
with:
839-
persist-credentials: false
839+
persist-credentials: true
840840
ref: ${{ needs.resolve_target.outputs.revision }}
841841
fetch-depth: 1
842842

@@ -901,7 +901,7 @@ jobs:
901901
- name: Checkout selected ref
902902
uses: actions/checkout@v6
903903
with:
904-
persist-credentials: false
904+
persist-credentials: true
905905
ref: ${{ needs.resolve_target.outputs.revision }}
906906
fetch-depth: 1
907907

@@ -1016,7 +1016,7 @@ jobs:
10161016
- name: Checkout selected ref
10171017
uses: actions/checkout@v6
10181018
with:
1019-
persist-credentials: false
1019+
persist-credentials: true
10201020
ref: ${{ needs.resolve_target.outputs.revision }}
10211021
fetch-depth: 1
10221022

@@ -1068,7 +1068,7 @@ jobs:
10681068
- name: Checkout selected ref
10691069
uses: actions/checkout@v6
10701070
with:
1071-
persist-credentials: false
1071+
persist-credentials: true
10721072
ref: ${{ needs.resolve_target.outputs.revision }}
10731073
fetch-depth: 1
10741074

@@ -1147,7 +1147,7 @@ jobs:
11471147
- name: Checkout selected ref
11481148
uses: actions/checkout@v6
11491149
with:
1150-
persist-credentials: false
1150+
persist-credentials: true
11511151
ref: ${{ needs.resolve_target.outputs.revision }}
11521152
fetch-depth: 1
11531153

@@ -1242,7 +1242,7 @@ jobs:
12421242
- name: Checkout selected ref
12431243
uses: actions/checkout@v6
12441244
with:
1245-
persist-credentials: false
1245+
persist-credentials: true
12461246
ref: ${{ needs.resolve_target.outputs.revision }}
12471247
fetch-depth: 1
12481248

@@ -1340,7 +1340,7 @@ jobs:
13401340
- name: Checkout selected ref
13411341
uses: actions/checkout@v6
13421342
with:
1343-
persist-credentials: false
1343+
persist-credentials: true
13441344
ref: ${{ needs.resolve_target.outputs.revision }}
13451345
fetch-depth: 1
13461346

@@ -1435,7 +1435,7 @@ jobs:
14351435
- name: Checkout selected ref
14361436
uses: actions/checkout@v6
14371437
with:
1438-
persist-credentials: false
1438+
persist-credentials: true
14391439
ref: ${{ needs.resolve_target.outputs.revision }}
14401440
fetch-depth: 1
14411441

.github/workflows/plugin-prerelease.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
ref: ${{ inputs.target_ref }}
5353
fetch-depth: 1
5454
fetch-tags: false
55-
persist-credentials: false
55+
persist-credentials: true
5656
submodules: false
5757

5858
- name: Build plugin prerelease manifest
@@ -221,7 +221,7 @@ jobs:
221221
ref: ${{ needs.preflight.outputs.checkout_revision }}
222222
fetch-depth: 1
223223
fetch-tags: false
224-
persist-credentials: false
224+
persist-credentials: true
225225
submodules: false
226226

227227
- name: Setup Node environment
@@ -257,7 +257,7 @@ jobs:
257257
ref: ${{ needs.preflight.outputs.checkout_revision }}
258258
fetch-depth: 1
259259
fetch-tags: false
260-
persist-credentials: false
260+
persist-credentials: true
261261
submodules: false
262262

263263
- name: Setup Node environment
@@ -330,7 +330,7 @@ jobs:
330330
ref: ${{ needs.preflight.outputs.checkout_revision }}
331331
fetch-depth: 1
332332
fetch-tags: false
333-
persist-credentials: false
333+
persist-credentials: true
334334
submodules: false
335335

336336
- name: Setup Node environment
@@ -362,7 +362,7 @@ jobs:
362362
ref: ${{ needs.preflight.outputs.checkout_revision }}
363363
fetch-depth: 1
364364
fetch-tags: false
365-
persist-credentials: false
365+
persist-credentials: true
366366
submodules: false
367367

368368
- name: Setup Node environment

0 commit comments

Comments
 (0)