Skip to content

Commit

Permalink
use github provided token for submodule check
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonincode committed Apr 10, 2024
1 parent eabddae commit 9924b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/submod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9924b77

Please sign in to comment.