diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3e8ca38..d5bd2f5 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -26,9 +26,11 @@ jobs: git submodule update --init --recursive --depth 1 CHROMIUM_TAG=$(cat VERSION) BORINGSSL_REVISION=$(curl -s https://raw.githubusercontent.com/chromium/chromium/$CHROMIUM_TAG/DEPS | grep "'boringssl_revision':" | awk -F"'" '{print $4}') - git clone https://github.com/google/boringssl.git + mkdir boringssl cd boringssl - git checkout -b temp $BORINGSSL_REVISION + git init + git remote add origin https://github.com/google/boringssl.git + git fetch origin $BORINGSSL_REVISION git config user.name "temp" git config user.email "temp@temp.temp" git am --3way --ignore-space-change < ../patch/boringssl.patch