Merge pull request #2390 from AntelopeIO/submod_token

use github provided token for git in submodule regression check
This commit is contained in:
Matt Witherspoon
2024-04-10 12:02:17 -04:00
committed by GitHub
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
steps:
- name: Checkout
run: |
git clone https://github.com/${GITHUB_REPOSITORY} .
git clone https://x-access-token:${{github.token}}@github.com/${GITHUB_REPOSITORY} .
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge
git submodule sync --recursive