From 5e992bfa2169ec6f1cc9dd509f6de71de7403a04 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 16 Oct 2026 11:46:34 +0000 Subject: [PATCH 1/5] Initial plan From 7c1e087a21fb7249e3079dcc2c6edb1f796fea95 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 16 Oct 2026 11:48:40 +0000 Subject: [PATCH 2/5] Fix legacy Git container image references Co-authored-by: moller2866 <83021349+moller2866@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 342e7eb7..4f24bc05 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,7 +72,7 @@ jobs: git_version: [latest, 2.30.2, 2.23.0, 2.19.2] runs-on: ubuntu-latest container: - image: bitnami/git:${{ matrix.git_version }} + image: ${{ matrix.git_version == 'latest' && 'bitnami/git:latest' || format('bitnamilegacy/git:{0}', matrix.git_version) }} steps: - uses: actions/checkout@v2 From 4d670311b2f8419c865417dafb53a8e034c7569a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 19 Oct 2026 11:09:19 +0000 Subject: [PATCH 3/5] Run legacy Git matrix in Docker steps Co-authored-by: moller2866 <83021349+moller2866@users.noreply.github.com> --- .github/workflows/test.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4f24bc05..f4803803 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -71,8 +71,8 @@ jobs: # docker tags to use in matrix build git_version: [latest, 2.30.2, 2.23.0, 2.19.2] runs-on: ubuntu-latest - container: - image: ${{ matrix.git_version == 'latest' && 'bitnami/git:latest' || format('bitnamilegacy/git:{0}', matrix.git_version) }} + env: + GIT_IMAGE: ${{ matrix.git_version == 'latest' && 'bitnami/git:latest' || format('bitnamilegacy/git:{0}', matrix.git_version) }} steps: - uses: actions/checkout@v2 @@ -80,12 +80,19 @@ jobs: - name: Run setup scripts with Bash shell: bash run: | - git config --global --add safe.directory /__w/git-katas/git-katas - git --version - git config --global user.name "GitHub Actions" - git config --global user.email "nobody@localhost" - chmod +x ./test-all.sh - ./test-all.sh + docker run --rm \ + --volume "$GITHUB_WORKSPACE:/workspace" \ + --workdir /workspace \ + --env HOME=/tmp \ + --entrypoint bash \ + "$GIT_IMAGE" -c ' + git config --global --add safe.directory /workspace + git --version + git config --global user.name "GitHub Actions" + git config --global user.email "nobody@localhost" + chmod +x ./test-all.sh + ./test-all.sh + ' # job will succeed if all matrix builds succeed, # used a toll gate to merge pr, without having From 8604934b4e34c27ae2f500ccb37da10a6d34a669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20M=C3=B8ller?= Date: Mon, 26 Oct 2026 11:31:19 +0100 Subject: [PATCH 4/5] Simplify CI: use container keyword with matrix image Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/workflows/test.yml | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f4803803..d32ff3b0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -68,11 +68,15 @@ jobs: # do not exit if one of the builds fail fail-fast: false matrix: - # docker tags to use in matrix build - git_version: [latest, 2.30.2, 2.23.0, 2.19.2] + # docker images to use in matrix build + image: + - bitnami/git:latest + - bitnamilegacy/git:2.30.2 + - bitnamilegacy/git:2.23.0 + - bitnamilegacy/git:2.19.2 runs-on: ubuntu-latest - env: - GIT_IMAGE: ${{ matrix.git_version == 'latest' && 'bitnami/git:latest' || format('bitnamilegacy/git:{0}', matrix.git_version) }} + container: + image: ${{ matrix.image }} steps: - uses: actions/checkout@v2 @@ -80,19 +84,12 @@ jobs: - name: Run setup scripts with Bash shell: bash run: | - docker run --rm \ - --volume "$GITHUB_WORKSPACE:/workspace" \ - --workdir /workspace \ - --env HOME=/tmp \ - --entrypoint bash \ - "$GIT_IMAGE" -c ' - git config --global --add safe.directory /workspace - git --version - git config --global user.name "GitHub Actions" - git config --global user.email "nobody@localhost" - chmod +x ./test-all.sh - ./test-all.sh - ' + git config --global --add safe.directory /__w/git-katas/git-katas + git --version + git config --global user.name "GitHub Actions" + git config --global user.email "nobody@localhost" + chmod +x ./test-all.sh + ./test-all.sh # job will succeed if all matrix builds succeed, # used a toll gate to merge pr, without having From c921087d61d48e5c9a9c320a6565dec9c92aa0ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20M=C3=B8ller?= Date: Mon, 26 Oct 2026 11:35:55 +0100 Subject: [PATCH 5/5] Revert "Simplify CI: use container keyword with matrix image" The container keyword fails for old images (2.19.2, 2.23.0): the runner's injected Node 24 needs a newer glibc than these images provide. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/workflows/test.yml | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d32ff3b0..f4803803 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -68,15 +68,11 @@ jobs: # do not exit if one of the builds fail fail-fast: false matrix: - # docker images to use in matrix build - image: - - bitnami/git:latest - - bitnamilegacy/git:2.30.2 - - bitnamilegacy/git:2.23.0 - - bitnamilegacy/git:2.19.2 + # docker tags to use in matrix build + git_version: [latest, 2.30.2, 2.23.0, 2.19.2] runs-on: ubuntu-latest - container: - image: ${{ matrix.image }} + env: + GIT_IMAGE: ${{ matrix.git_version == 'latest' && 'bitnami/git:latest' || format('bitnamilegacy/git:{0}', matrix.git_version) }} steps: - uses: actions/checkout@v2 @@ -84,12 +80,19 @@ jobs: - name: Run setup scripts with Bash shell: bash run: | - git config --global --add safe.directory /__w/git-katas/git-katas - git --version - git config --global user.name "GitHub Actions" - git config --global user.email "nobody@localhost" - chmod +x ./test-all.sh - ./test-all.sh + docker run --rm \ + --volume "$GITHUB_WORKSPACE:/workspace" \ + --workdir /workspace \ + --env HOME=/tmp \ + --entrypoint bash \ + "$GIT_IMAGE" -c ' + git config --global --add safe.directory /workspace + git --version + git config --global user.name "GitHub Actions" + git config --global user.email "nobody@localhost" + chmod +x ./test-all.sh + ./test-all.sh + ' # job will succeed if all matrix builds succeed, # used a toll gate to merge pr, without having