diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 485a9b73a..1e6a9c51e 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -5,6 +5,7 @@ on: branches: - 'main' - 'feature/*' + - 'enhancement/*' - 'patch/*' - 'fix/*' release: diff --git a/build/Build.CI.GitHubActions.cs b/build/Build.CI.GitHubActions.cs index 052ca483e..dc69dd705 100644 --- a/build/Build.CI.GitHubActions.cs +++ b/build/Build.CI.GitHubActions.cs @@ -4,7 +4,9 @@ using Nuke.Components; [GitHubActions( "pr", GitHubActionsImage.UbuntuLatest, - OnPullRequestBranches = ["main"], + On = [GitHubActionsTrigger.Push, GitHubActionsTrigger.PullRequest, GitHubActionsTrigger.WorkflowDispatch], + OnPushBranches = ["main", "feature/*", "patch/*", "fix/*", "enhancement/*"], + OnPullRequestBranches = ["main", "feature/*", "patch/*", "fix/*", "enhancement/*"], OnPullRequestIncludePaths = ["**/*"], PublishArtifacts = false, InvokedTargets = [nameof(ICompile.Compile), nameof(ITest.Test), nameof(IPack.Pack)],