From 8c49f38752ece9a076b102d41fc8a3b73f0a2071 Mon Sep 17 00:00:00 2001 From: Jimmy Bogard Date: Thu, 5 Mar 2026 11:21:31 -0600 Subject: [PATCH 1/3] Better async handling of license validation; fixes #4612 --- src/AutoMapper/Licensing/LicenseAccessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutoMapper/Licensing/LicenseAccessor.cs b/src/AutoMapper/Licensing/LicenseAccessor.cs index f01e2f0df2..e98fc7be06 100644 --- a/src/AutoMapper/Licensing/LicenseAccessor.cs +++ b/src/AutoMapper/Licensing/LicenseAccessor.cs @@ -71,7 +71,7 @@ private Claim[] ValidateKey(string licenseKey) ValidateLifetime = false }; - var validateResult = handler.ValidateTokenAsync(licenseKey, parms).Result; + var validateResult = Task.Run(() => handler.ValidateTokenAsync(licenseKey, parms)).GetAwaiter().GetResult(); if (!validateResult.IsValid) { _logger.LogCritical(validateResult.Exception, "Error validating the Lucky Penny software license key"); From 635465572420da47654446a689aec92931752d74 Mon Sep 17 00:00:00 2001 From: Jimmy Bogard Date: Thu, 5 Mar 2026 11:35:33 -0600 Subject: [PATCH 2/3] Trigger CI From 24aa419f934dd2de0b8ea3e7ad8f6b7ccc3b12bb Mon Sep 17 00:00:00 2001 From: Jimmy Bogard Date: Thu, 5 Mar 2026 11:36:55 -0600 Subject: [PATCH 3/3] Allowing for manual execution --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc829bc373..2381121c74 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,7 @@ on: branches: - main pull_request: + workflow_dispatch: env: DOTNET_NOLOGO: true DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true