Skip to content

Commit e5120fd

Browse files
Merge branch '11.5' into 12.5
* 11.5: Harden against script injection Do not persist Git credentials
2 parents 08ff3d1 + 1e58f6d commit e5120fd

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
with:
3939
fetch-depth: 1
4040
ref: ${{ github.event.pull_request.head.sha || github.sha }}
41+
persist-credentials: false
4142

4243
- name: Use local branch
4344
shell: bash
@@ -94,6 +95,7 @@ jobs:
9495
with:
9596
fetch-depth: 1
9697
ref: ${{ github.event.pull_request.head.sha || github.sha }}
98+
persist-credentials: false
9799

98100
- name: Use local branch
99101
shell: bash
@@ -145,6 +147,7 @@ jobs:
145147
with:
146148
fetch-depth: 1
147149
ref: ${{ github.event.pull_request.head.sha || github.sha }}
150+
persist-credentials: false
148151

149152
- name: Use local branch
150153
shell: bash
@@ -224,6 +227,7 @@ jobs:
224227
with:
225228
fetch-depth: 1
226229
ref: ${{ github.event.pull_request.head.sha || github.sha }}
230+
persist-credentials: false
227231

228232
- name: Use local branch
229233
shell: bash
@@ -304,6 +308,7 @@ jobs:
304308
with:
305309
fetch-depth: 1
306310
ref: ${{ github.event.pull_request.head.sha || github.sha }}
311+
persist-credentials: false
307312

308313
- name: Use local branch
309314
shell: bash
@@ -363,6 +368,7 @@ jobs:
363368
with:
364369
fetch-depth: 1
365370
ref: ${{ github.event.pull_request.head.sha || github.sha }}
371+
persist-credentials: false
366372

367373
- name: Use local branch
368374
shell: bash
@@ -456,6 +462,7 @@ jobs:
456462
with:
457463
fetch-depth: 1
458464
ref: ${{ github.event.pull_request.head.sha || github.sha }}
465+
persist-credentials: false
459466

460467
- name: Use local branch
461468
shell: bash
@@ -531,6 +538,7 @@ jobs:
531538
with:
532539
fetch-depth: 1
533540
ref: ${{ github.event.pull_request.head.sha || github.sha }}
541+
persist-credentials: false
534542

535543
- name: Use local branch
536544
shell: bash

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@v4
23+
with:
24+
persist-credentials: false
2325

2426
- name: Install PHP with extensions
2527
uses: shivammathur/setup-php@v2
@@ -33,7 +35,7 @@ jobs:
3335
run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
3436

3537
- name: Parse ChangeLog
36-
run: build/scripts/extract-release-notes.php ${{ env.RELEASE_TAG }} > release-notes.md
38+
run: build/scripts/extract-release-notes.php ${RELEASE_TAG} > release-notes.md
3739

3840
- name: Create release
3941
uses: ncipollo/release-action@v1

0 commit comments

Comments
 (0)