Skip to content

Commit 9924b77

Browse files
committed
use github provided token for submodule check
1 parent eabddae commit 9924b77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/submod.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
run: |
14-
git clone https://github.com/${GITHUB_REPOSITORY} .
14+
git clone https://x-access-token:${{github.token}}@github.com/${GITHUB_REPOSITORY} .
1515
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge
1616
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge
1717
git submodule sync --recursive

0 commit comments

Comments
 (0)