From 14ac173bcffd0a72b08b5c47ca0799029f862682 Mon Sep 17 00:00:00 2001 From: eric sciple Date: Mon, 1 Dec 2025 19:53:23 -0600 Subject: Add worktree support for persist-credentials includeIf (#2327) --- .github/workflows/test.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to '.github') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3aa5fc9..fe2539f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -165,6 +165,22 @@ jobs: - name: Verify submodules recursive run: __test__/verify-submodules-recursive.sh + # Worktree credentials + - name: Checkout for worktree test + uses: ./ + with: + path: worktree-test + - name: Verify worktree credentials + shell: bash + run: __test__/verify-worktree.sh worktree-test worktree-branch + + # Worktree credentials in container step + - name: Verify worktree credentials in container step + if: runner.os == 'Linux' + uses: docker://bitnami/git:latest + with: + args: bash __test__/verify-worktree.sh worktree-test container-worktree-branch + # Basic checkout using REST API - name: Remove basic if: runner.os != 'windows' -- cgit v1.2.3