From d030e7d8ccf649080d6df5fc3cd45faf58ef9b24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=B6ger?= Date: Wed, 14 Feb 2024 16:09:40 +0100 Subject: [PATCH] debugging workflow --- .github/workflows/pytest-coverage.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pytest-coverage.yml b/.github/workflows/pytest-coverage.yml index 7eba155..400e2f5 100644 --- a/.github/workflows/pytest-coverage.yml +++ b/.github/workflows/pytest-coverage.yml @@ -10,10 +10,19 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - with: - submodules: "recursive" - token: ${{ secrets.SUBMODULE_GITHUB_TOKEN }} + - uses: actions/checkout@v4 # without submodules + + - name: disable the keychain credential helper + run: git config --global credential.helper "" + + - name: enable the local store credential helper + run: git config --global --add credential.helper store + + - name: add credential + run: echo "https://x-access-token:${{ secrets.SUBMODULE_GITHUB_TOKEN }}@github.com" >> ~/.git-credentials + + - name: tell git to use https instead of ssh whenever it encounters it + run: 'git config --global url."https://github.com/".insteadof git@github.com:' - name: Set up Python uses: actions/setup-python@v4