diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 334fd87ee..216206ee6 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -69,7 +69,12 @@ jobs: echo "Skipping 'auto-merge' workflow check to prevent self-referencing." continue fi - + + # If any check is still queued, set ALL_COMPLETED to false + if [[ "$status" == "QUEUED" ]]; then + ALL_COMPLETED=false + fi + # If any check is still in progress, set ALL_COMPLETED to false if [[ "$status" == "IN_PROGRESS" ]]; then ALL_COMPLETED=false diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/LearningHub.NHS.OpenAPI.csproj b/OpenAPI/LearningHub.Nhs.OpenApi/LearningHub.NHS.OpenAPI.csproj index 244569472..696f78361 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/LearningHub.NHS.OpenAPI.csproj +++ b/OpenAPI/LearningHub.Nhs.OpenApi/LearningHub.NHS.OpenAPI.csproj @@ -18,7 +18,7 @@ - +