ci(micropython) fix git fetch (#2757)

Switch from git protocol to https.

Related: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
This commit is contained in:
Amir Gonnen
2021-11-03 02:24:55 +02:00
committed by GitHub
parent 83f9c30985
commit 63ff80192b
+2 -2
View File
@@ -31,8 +31,8 @@ jobs:
- name: Checkout LVGL submodule
working-directory: ./lib/lv_bindings/lvgl
run: |
git fetch --force ${{ github.event.repository.git_url }} "+refs/heads/*:refs/remotes/origin/*"
git fetch --force ${{ github.event.repository.git_url }} "+refs/pull/*:refs/remotes/origin/pr/*"
git fetch --force ${{ github.event.repository.html_url }} "+refs/heads/*:refs/remotes/origin/*"
git fetch --force ${{ github.event.repository.html_url }} "+refs/pull/*:refs/remotes/origin/pr/*"
git checkout ${{ github.sha }} || git checkout ${{ github.event.pull_request.head.sha }}
git submodule update --init --recursive
- name: Build mpy-cross