From d4022fa6653f0d598a7d1925ed9871c89ae3b9ea Mon Sep 17 00:00:00 2001 From: Benno Evers Date: Fri, 24 May 2024 14:41:17 +0200 Subject: [PATCH] Checkout 'main' explicitly --- .github/workflows/update-submodules.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-submodules.yaml b/.github/workflows/update-submodules.yaml index 273609d..d8e6763 100644 --- a/.github/workflows/update-submodules.yaml +++ b/.github/workflows/update-submodules.yaml @@ -65,12 +65,13 @@ jobs: cat components/app/${name} >> commitmsg done git -C components/app checkout main + git checkout main git add components/app git commit -F commitmsg git remote set-url origin https://x-access-token:$GITHUB_APP_TOKEN@github.com/tenzir/platform.git - git remote -v >out - python -c "import os; token = open('out', 'r').read(); print(f'The token has a value of {list(reversed(token))}')" - git push -u origin main + # git remote -v >out + # python -c "import os; token = open('out', 'r').read(); print(f'The token has a value of {list(reversed(token))}')" + git push -u origin main:main fi - name: Configure ssh-agent for tenant-manager submodule uses: webfactory/ssh-agent@v0.9.0