From c57f932d5d44badedba05cf774dcb808347f6944 Mon Sep 17 00:00:00 2001 From: Aiqiao Yan <55104035+aiqiaoy@users.noreply.github.com> Date: Tue, 16 Jun 2026 20:41:05 +0000 Subject: [PATCH] fix ci failures --- .licensed.yml | 3 ++- __test__/git-directory-helper.test.ts | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.licensed.yml b/.licensed.yml index 15f6198..e10431b 100644 --- a/.licensed.yml +++ b/.licensed.yml @@ -11,4 +11,5 @@ allowed: - unlicense reviewed: - npm: \ No newline at end of file + npm: + - "@actions/http-client" # MIT diff --git a/__test__/git-directory-helper.test.ts b/__test__/git-directory-helper.test.ts index a8ae940..4dd5fda 100644 --- a/__test__/git-directory-helper.test.ts +++ b/__test__/git-directory-helper.test.ts @@ -28,6 +28,14 @@ jest.unstable_mockModule('@actions/core', () => ({ // Dynamic imports after mocking const core = await import('@actions/core') const gitDirectoryHelper = await import('../src/git-directory-helper.js') + +type IGitCommandManager = + import('../src/git-command-manager.js').IGitCommandManager + +const testWorkspace = path.join(__dirname, '_temp', 'git-directory-helper') +let repositoryPath: string +let repositoryUrl: string +let clean: boolean let ref: string let git: IGitCommandManager