Skip to content

Commit 127221a

Browse files
committed
None of the checkouts need credentials to be persisted.
1 parent 9a6c833 commit 127221a

15 files changed

+22
-0
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
steps:
4242
- name: Checkout repository
4343
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
44+
with:
45+
persist-credentials: false
4446

4547
- name: Run actionlint
4648
uses: docker://rhysd/actionlint:1.7.4

.github/workflows/reusable-coding-standards-javascript.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3838
with:
3939
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
40+
persist-credentials: false
4041

4142
- name: Set up Node.js
4243
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0

.github/workflows/reusable-coding-standards-php.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
5050
with:
5151
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
52+
persist-credentials: false
5253

5354
- name: Set up PHP
5455
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1

.github/workflows/reusable-end-to-end-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
7575
with:
7676
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
77+
persist-credentials: false
7778

7879
- name: Set up Node.js
7980
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0

.github/workflows/reusable-javascript-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3333
with:
3434
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
35+
persist-credentials: false
3536

3637
- name: Set up Node.js
3738
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0

.github/workflows/reusable-performance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ jobs:
119119
with:
120120
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
121121
fetch-depth: ${{ github.event_name == 'workflow_dispatch' && '2' || '1' }}
122+
persist-credentials: false
122123

123124
# The `workflow_dispatch` event is the only one missing the needed SHA to target.
124125
- name: Retrieve previous commit SHA (if necessary)

.github/workflows/reusable-php-compatibility.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
4444
with:
4545
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
46+
persist-credentials: false
4647

4748
- name: Set up PHP
4849
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1

.github/workflows/reusable-phpunit-tests-v1.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ jobs:
9797
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
9898
with:
9999
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
100+
persist-credentials: false
100101

101102
- name: Set up Node.js
102103
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0

.github/workflows/reusable-phpunit-tests-v2.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
101101
with:
102102
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
103+
persist-credentials: false
103104

104105
- name: Install Node.js
105106
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0

.github/workflows/reusable-phpunit-tests-v3.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ jobs:
123123
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
124124
with:
125125
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
126+
persist-credentials: false
126127

127128
- name: Set up Node.js
128129
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
@@ -247,6 +248,7 @@ jobs:
247248
repository: 'WordPress/phpunit-test-runner'
248249
path: 'test-runner'
249250
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
251+
persist-credentials: false
250252

251253
- name: Submit test results to the WordPress.org host test results
252254
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/trunk' && inputs.report }}

0 commit comments

Comments
 (0)