From da8c1a057c9b482db35884b97451f63bc7eafe8e Mon Sep 17 00:00:00 2001 From: David Driscoll Date: Tue, 14 Jan 2025 19:03:28 -0500 Subject: [PATCH 1/2] the jobs were not normalizing their dependencies --- src/Nuke/Jobs/CloseMilestoneJobAttribute.cs | 1 + src/Nuke/Jobs/DraftReleaseJobAttribute.cs | 1 + src/Nuke/Jobs/UpdateMilestoneJobAttribute.cs | 1 + 3 files changed, 3 insertions(+) diff --git a/src/Nuke/Jobs/CloseMilestoneJobAttribute.cs b/src/Nuke/Jobs/CloseMilestoneJobAttribute.cs index ee10eb2a0..3f2c21861 100644 --- a/src/Nuke/Jobs/CloseMilestoneJobAttribute.cs +++ b/src/Nuke/Jobs/CloseMilestoneJobAttribute.cs @@ -82,6 +82,7 @@ dotnet gitreleasemanager close ` ] ); build.Jobs.Add(job); + NormalizeActionVersions(build); return build; } diff --git a/src/Nuke/Jobs/DraftReleaseJobAttribute.cs b/src/Nuke/Jobs/DraftReleaseJobAttribute.cs index f2af3300c..937a12cd6 100644 --- a/src/Nuke/Jobs/DraftReleaseJobAttribute.cs +++ b/src/Nuke/Jobs/DraftReleaseJobAttribute.cs @@ -79,6 +79,7 @@ public override ConfigurationEntity GetConfiguration(IReadOnlyCollection Date: Tue, 14 Jan 2025 19:07:01 -0500 Subject: [PATCH 2/2] Automatically linting code --- src/Nuke/Jobs/CloseMilestoneJobAttribute.cs | 1 + src/Nuke/Jobs/DraftReleaseJobAttribute.cs | 1 + src/Nuke/Jobs/UpdateMilestoneJobAttribute.cs | 1 + 3 files changed, 3 insertions(+) diff --git a/src/Nuke/Jobs/CloseMilestoneJobAttribute.cs b/src/Nuke/Jobs/CloseMilestoneJobAttribute.cs index 3f2c21861..0f36a97a7 100644 --- a/src/Nuke/Jobs/CloseMilestoneJobAttribute.cs +++ b/src/Nuke/Jobs/CloseMilestoneJobAttribute.cs @@ -1,6 +1,7 @@ using Nuke.Common.CI; using Nuke.Common.CI.GitHubActions; using Nuke.Common.Execution; + using Rocket.Surgery.Nuke.GithubActions; namespace Rocket.Surgery.Nuke.Jobs; diff --git a/src/Nuke/Jobs/DraftReleaseJobAttribute.cs b/src/Nuke/Jobs/DraftReleaseJobAttribute.cs index 937a12cd6..f7be5ed08 100644 --- a/src/Nuke/Jobs/DraftReleaseJobAttribute.cs +++ b/src/Nuke/Jobs/DraftReleaseJobAttribute.cs @@ -2,6 +2,7 @@ using Nuke.Common.CI.GitHubActions; using Nuke.Common.CI.GitHubActions.Configuration; using Nuke.Common.Execution; + using Rocket.Surgery.Nuke.GithubActions; namespace Rocket.Surgery.Nuke.Jobs; diff --git a/src/Nuke/Jobs/UpdateMilestoneJobAttribute.cs b/src/Nuke/Jobs/UpdateMilestoneJobAttribute.cs index 750e5ff7d..7ee523423 100644 --- a/src/Nuke/Jobs/UpdateMilestoneJobAttribute.cs +++ b/src/Nuke/Jobs/UpdateMilestoneJobAttribute.cs @@ -1,6 +1,7 @@ using Nuke.Common.CI; using Nuke.Common.CI.GitHubActions; using Nuke.Common.Execution; + using Rocket.Surgery.Nuke.GithubActions; namespace Rocket.Surgery.Nuke.Jobs;