Skip to content

Commit ee30b8a

Browse files
authored
[ci] update actions/checkout calls (#7037)
1 parent 8d4ac68 commit ee30b8a

File tree

8 files changed

+15
-0
lines changed

8 files changed

+15
-0
lines changed

.github/workflows/cuda.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
uses: actions/checkout@v5
7575
with:
7676
fetch-depth: 5
77+
persist-credentials: false
7778
submodules: true
7879
- name: Setup and run tests
7980
run: |

.github/workflows/linkchecker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
uses: actions/checkout@v5
2222
with:
2323
fetch-depth: 5
24+
persist-credentials: false
2425
submodules: false
2526
- name: Setup and run tests
2627
run: |

.github/workflows/optional_checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 5
17+
persist-credentials: false
1718
submodules: false
1819
- name: Check that all tests succeeded
1920
shell: bash

.github/workflows/python_package.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
uses: actions/checkout@v5
2828
with:
2929
fetch-depth: 5
30+
persist-credentials: false
3031
submodules: true
3132
- name: Setup and run tests
3233
shell: bash
@@ -106,6 +107,7 @@ jobs:
106107
uses: actions/checkout@v5
107108
with:
108109
fetch-depth: 5
110+
persist-credentials: false
109111
submodules: true
110112
- name: Setup and run tests
111113
shell: bash
@@ -140,6 +142,7 @@ jobs:
140142
uses: actions/checkout@v5
141143
with:
142144
fetch-depth: 5
145+
persist-credentials: false
143146
submodules: true
144147
- name: Create wheel
145148
run: |
@@ -174,6 +177,7 @@ jobs:
174177
uses: actions/checkout@v5
175178
with:
176179
fetch-depth: 5
180+
persist-credentials: false
177181
submodules: true
178182
- name: Create wheel
179183
run: |

.github/workflows/r_package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ jobs:
160160
uses: actions/checkout@v5
161161
with:
162162
fetch-depth: 5
163+
persist-credentials: false
163164
submodules: true
164165
- name: Install pandoc
165166
uses: r-lib/actions/setup-pandoc@v2
@@ -219,6 +220,7 @@ jobs:
219220
uses: actions/checkout@v5
220221
with:
221222
fetch-depth: 5
223+
persist-credentials: false
222224
submodules: true
223225
- name: Install packages
224226
shell: bash
@@ -259,6 +261,7 @@ jobs:
259261
uses: actions/checkout@v5
260262
with:
261263
fetch-depth: 5
264+
persist-credentials: false
262265
submodules: true
263266
- name: Install pandoc
264267
uses: r-lib/actions/setup-pandoc@v2

.github/workflows/r_valgrind.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
with:
2929
fetch-depth: 5
3030
submodules: true
31+
persist-credentials: false
3132
repository: microsoft/LightGBM
3233
ref: "refs/pull/${{ github.event.client_payload.pr_number }}/merge"
3334
- name: Send init status

.github/workflows/static_analysis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
uses: actions/checkout@v5
3131
with:
3232
fetch-depth: 5
33+
persist-credentials: false
3334
submodules: false
3435
- name: Setup and run tests
3536
shell: bash
@@ -48,6 +49,7 @@ jobs:
4849
uses: actions/checkout@v5
4950
with:
5051
fetch-depth: 5
52+
persist-credentials: false
5153
submodules: false
5254
- name: Setup and run tests
5355
shell: bash
@@ -70,6 +72,7 @@ jobs:
7072
uses: actions/checkout@v5
7173
with:
7274
fetch-depth: 5
75+
persist-credentials: false
7376
submodules: true
7477
- name: Install packages
7578
shell: bash

.github/workflows/triggering_comments.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
uses: actions/checkout@v5
1919
with:
2020
fetch-depth: 5
21+
persist-credentials: false
2122
submodules: false
2223

2324
- name: Trigger R valgrind tests

0 commit comments

Comments
 (0)