From 51d25392fc0e78a4c446f3eae91d5ccce02d9df7 Mon Sep 17 00:00:00 2001 From: Vishwas Siravara Date: Wed, 20 Sep 2023 18:27:49 +0000 Subject: [PATCH] ci: track main branch of lima submodule (#162) Issue #, if available: *Description of changes:* Track a known good commit main branch of lima submodule vs latest tag. *Testing done:* Yes - [X] I've reviewed the guidance in CONTRIBUTING.md #### License Acceptance By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. --------- Signed-off-by: Vishwas Siravara --- .github/workflows/submodulesync.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/submodulesync.yaml b/.github/workflows/submodulesync.yaml index 2d5058c..44ddd89 100644 --- a/.github/workflows/submodulesync.yaml +++ b/.github/workflows/submodulesync.yaml @@ -17,10 +17,13 @@ jobs: - name: Update sub modules run: | git submodule update --remote - (cd src/lima && git fetch --tags) - TAG=`cd src/lima && git describe --tags $(git rev-list --tags --max-count=1)` - echo "Pulling changes from release: $TAG" - (cd src/lima && git checkout $TAG) +# pin submodule to a commit, https://github.com/lima-vm/lima/commit/b357e260b1a03f0142c63b3e071b784ae66d5d34 + (cd src/lima && git checkout b357e260b1a03f0142c63b3e071b784ae66d5d34) +# TODO: Track back release once lima has v0.18.0 +# (cd src/lima && git fetch --tags) +# TAG=`cd src/lima && git describe --tags $(git rev-list --tags --max-count=1)` +# echo "Pulling changes from release: $TAG" +# (cd src/lima && git checkout $TAG) - name: Create PR uses: peter-evans/create-pull-request@v5