Skip to content

Commit b8bddee

Browse files
committed
chore: disable persisted checkout credentials
1 parent ef9fb54 commit b8bddee

File tree

8 files changed

+25
-0
lines changed

8 files changed

+25
-0
lines changed

.github/workflows/deploy-apidocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ jobs:
3232
uses: actions/checkout@v6
3333
with:
3434
path: source
35+
persist-credentials: false
3536

3637
- name: Checkout target
3738
uses: actions/checkout@v6
3839
with:
3940
repository: codeigniter4/api
4041
token: ${{ secrets.ACCESS_TOKEN }}
4142
path: api
43+
persist-credentials: false
4244

4345
- name: Setup PHP
4446
uses: shivammathur/setup-php@v2

.github/workflows/deploy-distributables.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
uses: actions/checkout@v6
2020
with:
2121
fetch-depth: 0 # fetch all tags
22+
persist-credentials: false
2223

2324
- name: Get latest version
2425
id: version
@@ -52,13 +53,15 @@ jobs:
5253
uses: actions/checkout@v6
5354
with:
5455
path: source
56+
persist-credentials: false
5557

5658
- name: Checkout target
5759
uses: actions/checkout@v6
5860
with:
5961
repository: codeigniter4/framework
6062
token: ${{ secrets.ACCESS_TOKEN }}
6163
path: framework
64+
persist-credentials: false
6265

6366
- name: Chmod
6467
run: chmod +x ./source/.github/scripts/deploy-framework
@@ -102,13 +105,15 @@ jobs:
102105
uses: actions/checkout@v6
103106
with:
104107
path: source
108+
persist-credentials: false
105109

106110
- name: Checkout target
107111
uses: actions/checkout@v6
108112
with:
109113
repository: codeigniter4/appstarter
110114
token: ${{ secrets.ACCESS_TOKEN }}
111115
path: appstarter
116+
persist-credentials: false
112117

113118
- name: Chmod
114119
run: chmod +x ./source/.github/scripts/deploy-appstarter
@@ -152,13 +157,15 @@ jobs:
152157
uses: actions/checkout@v6
153158
with:
154159
path: source
160+
persist-credentials: false
155161

156162
- name: Checkout target
157163
uses: actions/checkout@v6
158164
with:
159165
repository: codeigniter4/userguide
160166
token: ${{ secrets.ACCESS_TOKEN }}
161167
path: userguide
168+
persist-credentials: false
162169

163170
- name: Setup Python
164171
uses: actions/setup-python@v6

.github/workflows/deploy-userguide-latest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
steps:
2727
- name: Checkout
2828
uses: actions/checkout@v6
29+
with:
30+
persist-credentials: false
2931

3032
- name: Setup PHP
3133
uses: shivammathur/setup-php@v2

.github/workflows/reusable-coveralls.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ jobs:
2121
uses: actions/checkout@v6
2222
with:
2323
ref: ${{ github.base_ref }}
24+
persist-credentials: false
2425

2526
- name: Checkout
2627
uses: actions/checkout@v6
28+
with:
29+
persist-credentials: false
2730

2831
- name: Setup PHP
2932
uses: shivammathur/setup-php@v2

.github/workflows/reusable-phpunit-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,12 @@ jobs:
175175
uses: actions/checkout@v6
176176
with:
177177
ref: ${{ github.base_ref }}
178+
persist-credentials: false
178179

179180
- name: Checkout
180181
uses: actions/checkout@v6
182+
with:
183+
persist-credentials: false
181184

182185
- name: Setup PHP
183186
uses: shivammathur/setup-php@v2

.github/workflows/reusable-serviceless-phpunit-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,12 @@ jobs:
7070
uses: actions/checkout@v6
7171
with:
7272
ref: ${{ github.base_ref }}
73+
persist-credentials: false
7374

7475
- name: Checkout
7576
uses: actions/checkout@v6
77+
with:
78+
persist-credentials: false
7679

7780
- name: Setup PHP
7881
uses: shivammathur/setup-php@v2

.github/workflows/test-psalm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@ jobs:
4040
uses: actions/checkout@v6
4141
with:
4242
ref: ${{ github.base_ref }}
43+
persist-credentials: false
4344

4445
- name: Checkout
4546
uses: actions/checkout@v6
47+
with:
48+
persist-credentials: false
4649

4750
- name: Setup PHP
4851
uses: shivammathur/setup-php@v2

admin/starter/.github/workflows/phpunit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
steps:
2323
- name: Checkout
2424
uses: actions/checkout@v6
25+
with:
26+
persist-credentials: false
2527

2628
- name: Setup PHP, with composer and extensions
2729
uses: shivammathur/setup-php@v2

0 commit comments

Comments
 (0)