diff --git a/docs/adrs/1751-runner-job-hooks.md b/docs/adrs/1751-runner-job-hooks.md index e13d42e34..8e81f50e7 100644 --- a/docs/adrs/1751-runner-job-hooks.md +++ b/docs/adrs/1751-runner-job-hooks.md @@ -23,7 +23,7 @@ This feature is mainly intended for self hosted runner administrators. - `ACTIONS_RUNNER_HOOK_JOB_STARTED` - `ACTIONS_RUNNER_HOOK_JOB_COMPLETED` -You can set these variables to the **absolute** path of a a `.sh` or `.ps1` file. +You can set these variables to the **absolute** path of a `.sh` or `.ps1` file. We will execute `pwsh` (fallback to `powershell`) or `bash` (fallback to `sh`) as appropriate. - `.sh` files will execute with the args `-e {pathtofile}` diff --git a/src/Misc/dotnet-install.sh b/src/Misc/dotnet-install.sh index f9371a276..924bdc2a8 100755 --- a/src/Misc/dotnet-install.sh +++ b/src/Misc/dotnet-install.sh @@ -11,7 +11,7 @@ set -u # This is causing it to fail set -o pipefail -# Use in the the functions: eval $invocation +# Use in the functions: eval $invocation invocation='say_verbose "Calling: ${yellow:-}${FUNCNAME[0]} ${green:-}$*${normal:-}"' # standard output may be used as a return value in the functions diff --git a/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/ReferenceNameBuilder.cs b/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/ReferenceNameBuilder.cs index 2b42f2918..a7c9a98c5 100644 --- a/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/ReferenceNameBuilder.cs +++ b/src/Sdk/DTPipelines/Pipelines/ObjectTemplating/ReferenceNameBuilder.cs @@ -99,7 +99,7 @@ namespace GitHub.DistributedTask.Pipelines.ObjectTemplating { if (!NameValidation.IsValid(value, allowHyphens: true) && value.Length < PipelineConstants.MaxNodeNameLength) { - error = $"The identifier '{value}' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than {PipelineConstants.MaxNodeNameLength} characters."; + error = $"The identifier '{value}' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and must be less than {PipelineConstants.MaxNodeNameLength} characters."; return false; } else if (!m_distinctNames.Add(value)) diff --git a/src/Sdk/DTWebApi/WebApi/Runner.cs b/src/Sdk/DTWebApi/WebApi/Runner.cs index 91f13e036..f3fdbf60e 100644 --- a/src/Sdk/DTWebApi/WebApi/Runner.cs +++ b/src/Sdk/DTWebApi/WebApi/Runner.cs @@ -19,7 +19,7 @@ namespace GitHub.DistributedTask.WebApi } /// - /// The url to connect to to poll for messages + /// The url to connect to poll for messages /// [JsonProperty("server_url")] public string ServerUrl diff --git a/src/Sdk/WebApi/WebApi/Location/ServerDataProvider.cs b/src/Sdk/WebApi/WebApi/Location/ServerDataProvider.cs index c1997a1b7..43a222626 100644 --- a/src/Sdk/WebApi/WebApi/Location/ServerDataProvider.cs +++ b/src/Sdk/WebApi/WebApi/Location/ServerDataProvider.cs @@ -677,7 +677,7 @@ namespace GitHub.Services.WebApi.Location Int32 lastChangeId = m_locationDataCacheManager.GetLastChangeId(); // If we have -1 then that means we have no disk cache yet or it means that we recently hit an exception trying to reload - // the the cache from disk (see Exception catch block in EnsureDiskCacheLoaded). + // the cache from disk (see Exception catch block in EnsureDiskCacheLoaded). // Either way, we cannot make a call to the server with -1 and pass None. // If we do, the resulting payload (which would have ClientCacheFresh=false but include no ServiceDefinitions) // would leave the in-memory cache in an inconsistent state