Unverified Commit f095bcc5 authored by Dimitri Papadopoulos Orfanos's avatar Dimitri Papadopoulos Orfanos Committed by GitHub
Browse files

Fix typos found by codespell (#1287)

parent 47fbe2df
Loading
Loading
Loading
Loading
+1 −1
Changes for adrs/0153-checkout-v2.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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.

+1 −1
Changes for dist/index.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1039,7 +1039,7 @@ function prepareExistingDirectory(git, repositoryPath, repositoryUrl, clean, ref
                if (clean) {
                    core.startGroup('Cleaning the repository');
                    if (!(yield 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}'.`);
                        core.debug(`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 (!(yield git.tryReset())) {
+1 −1
Changes for src/git-directory-helper.ts: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -92,7 +92,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())) {