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

[ci] fix git checkout for CI jobs (fixes #5151) (#5152)

parent 6105ba9d
......@@ -180,6 +180,9 @@ jobs:
- r_customization: csan
compiler: clang
steps:
- name: Trust git cloning LightGBM
run: |
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- name: Checkout repository
uses: actions/checkout@v2.4.0
with:
......@@ -210,6 +213,9 @@ jobs:
run: |
apt-get update --allow-releaseinfo-change
apt-get install --no-install-recommends -y git
- name: Trust git cloning LightGBM
run: |
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- name: Checkout repository
uses: actions/checkout@v2.4.0
with:
......
......@@ -49,6 +49,9 @@ jobs:
runs-on: ubuntu-latest
container: rocker/verse
steps:
- name: Trust git cloning LightGBM
run: |
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- name: Checkout repository
uses: actions/checkout@v2.4.0
with:
......
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