Unverified Commit ee30b8aa authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] update actions/checkout calls (#7037)

parent 8d4ac686
...@@ -74,6 +74,7 @@ jobs: ...@@ -74,6 +74,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
fetch-depth: 5 fetch-depth: 5
persist-credentials: false
submodules: true submodules: true
- name: Setup and run tests - name: Setup and run tests
run: | run: |
......
...@@ -21,6 +21,7 @@ jobs: ...@@ -21,6 +21,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
fetch-depth: 5 fetch-depth: 5
persist-credentials: false
submodules: false submodules: false
- name: Setup and run tests - name: Setup and run tests
run: | run: |
......
...@@ -14,6 +14,7 @@ jobs: ...@@ -14,6 +14,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
fetch-depth: 5 fetch-depth: 5
persist-credentials: false
submodules: false submodules: false
- name: Check that all tests succeeded - name: Check that all tests succeeded
shell: bash shell: bash
......
...@@ -27,6 +27,7 @@ jobs: ...@@ -27,6 +27,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
fetch-depth: 5 fetch-depth: 5
persist-credentials: false
submodules: true submodules: true
- name: Setup and run tests - name: Setup and run tests
shell: bash shell: bash
...@@ -106,6 +107,7 @@ jobs: ...@@ -106,6 +107,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
fetch-depth: 5 fetch-depth: 5
persist-credentials: false
submodules: true submodules: true
- name: Setup and run tests - name: Setup and run tests
shell: bash shell: bash
...@@ -140,6 +142,7 @@ jobs: ...@@ -140,6 +142,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
fetch-depth: 5 fetch-depth: 5
persist-credentials: false
submodules: true submodules: true
- name: Create wheel - name: Create wheel
run: | run: |
...@@ -174,6 +177,7 @@ jobs: ...@@ -174,6 +177,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
fetch-depth: 5 fetch-depth: 5
persist-credentials: false
submodules: true submodules: true
- name: Create wheel - name: Create wheel
run: | run: |
......
...@@ -160,6 +160,7 @@ jobs: ...@@ -160,6 +160,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
fetch-depth: 5 fetch-depth: 5
persist-credentials: false
submodules: true submodules: true
- name: Install pandoc - name: Install pandoc
uses: r-lib/actions/setup-pandoc@v2 uses: r-lib/actions/setup-pandoc@v2
...@@ -219,6 +220,7 @@ jobs: ...@@ -219,6 +220,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
fetch-depth: 5 fetch-depth: 5
persist-credentials: false
submodules: true submodules: true
- name: Install packages - name: Install packages
shell: bash shell: bash
...@@ -259,6 +261,7 @@ jobs: ...@@ -259,6 +261,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
fetch-depth: 5 fetch-depth: 5
persist-credentials: false
submodules: true submodules: true
- name: Install pandoc - name: Install pandoc
uses: r-lib/actions/setup-pandoc@v2 uses: r-lib/actions/setup-pandoc@v2
......
...@@ -28,6 +28,7 @@ jobs: ...@@ -28,6 +28,7 @@ jobs:
with: with:
fetch-depth: 5 fetch-depth: 5
submodules: true submodules: true
persist-credentials: false
repository: microsoft/LightGBM repository: microsoft/LightGBM
ref: "refs/pull/${{ github.event.client_payload.pr_number }}/merge" ref: "refs/pull/${{ github.event.client_payload.pr_number }}/merge"
- name: Send init status - name: Send init status
......
...@@ -30,6 +30,7 @@ jobs: ...@@ -30,6 +30,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
fetch-depth: 5 fetch-depth: 5
persist-credentials: false
submodules: false submodules: false
- name: Setup and run tests - name: Setup and run tests
shell: bash shell: bash
...@@ -48,6 +49,7 @@ jobs: ...@@ -48,6 +49,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
fetch-depth: 5 fetch-depth: 5
persist-credentials: false
submodules: false submodules: false
- name: Setup and run tests - name: Setup and run tests
shell: bash shell: bash
...@@ -70,6 +72,7 @@ jobs: ...@@ -70,6 +72,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
fetch-depth: 5 fetch-depth: 5
persist-credentials: false
submodules: true submodules: true
- name: Install packages - name: Install packages
shell: bash shell: bash
......
...@@ -18,6 +18,7 @@ jobs: ...@@ -18,6 +18,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
with: with:
fetch-depth: 5 fetch-depth: 5
persist-credentials: false
submodules: false submodules: false
- name: Trigger R valgrind tests - name: Trigger R valgrind tests
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment