From e1097212bf10e466f40b09d93eaffa9fcc453921 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 13 Apr 2023 06:20:57 +0200 Subject: [PATCH] Fix typos found by codespell --- adrs/0153-checkout-v2.md | 4 ++-- src/git-directory-helper.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/adrs/0153-checkout-v2.md b/adrs/0153-checkout-v2.md index 74730c735..c3312909e 100644 --- a/adrs/0153-checkout-v2.md +++ b/adrs/0153-checkout-v2.md @@ -181,7 +181,7 @@ GITHUB_WORKSPACE=/home/runner/work/foo/foo RUNNER_WORKSPACE=/home/runner/work/foo ``` -V2 introduces a new contraint on the checkout path. The location must now be under `github.workspace`. Whereas the checkout@v1 constraint was one level up, under `runner.workspace`. +V2 introduces a new constraint on the checkout path. The location must now be under `github.workspace`. Whereas the checkout@v1 constraint was one level up, under `runner.workspace`. V2 no longer changes `github.workspace` to follow wherever the self repo is checked-out. @@ -287,4 +287,4 @@ Note: - Update samples to consume `actions/checkout@v2` - Job containers now require git in the PATH for checkout, otherwise fallback to REST API - Minimum git version 2.18 -- Update problem matcher logic regarding source file verification (runner) \ No newline at end of file +- Update problem matcher logic regarding source file verification (runner) diff --git a/src/git-directory-helper.ts b/src/git-directory-helper.ts index 2979e9781..8394ac01a 100644 --- a/src/git-directory-helper.ts +++ b/src/git-directory-helper.ts @@ -86,7 +86,7 @@ export async function prepareExistingDirectory( core.startGroup('Cleaning the repository') if (!(await git.tryClean())) { core.debug( - `The clean command failed. This might be caused by: 1) path too long, 2) permission issue, or 3) file in use. For futher investigation, manually run 'git clean -ffdx' on the directory '${repositoryPath}'.` + `The clean command failed. This might be caused by: 1) path too long, 2) permission issue, or 3) file in use. For further investigation, manually run 'git clean -ffdx' on the directory '${repositoryPath}'.` ) remove = true } else if (!(await git.tryReset())) {