From 63ff80192bb0755ef819fce833264591cff46812 Mon Sep 17 00:00:00 2001 From: Amir Gonnen Date: Wed, 3 Nov 2021 02:24:55 +0200 Subject: [PATCH] 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 --- .github/workflows/build_micropython.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_micropython.yml b/.github/workflows/build_micropython.yml index a3f0a23973..3927d2dbc2 100644 --- a/.github/workflows/build_micropython.yml +++ b/.github/workflows/build_micropython.yml @@ -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