From 9924b771669874c88f4d5fb6921df07d6d9b89e8 Mon Sep 17 00:00:00 2001 From: Matt Witherspoon <32485495+spoonincode@users.noreply.github.com> Date: Tue, 9 Apr 2024 23:40:32 -0400 Subject: [PATCH] use github provided token for submodule check --- .github/workflows/submod.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/submod.yaml b/.github/workflows/submod.yaml index 5de18efc94..35d9281185 100644 --- a/.github/workflows/submod.yaml +++ b/.github/workflows/submod.yaml @@ -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