Skip to content

Commit

Permalink
Do not push packages from PR
Browse files Browse the repository at this point in the history
  • Loading branch information
eNeRGy164 committed Aug 29, 2024
1 parent 660de5a commit 2df1944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class Build : NukeBuild

Target PushGithub => _ => _
.DependsOn(Pack)
.OnlyWhenDynamic(() => !IsLocalBuild && !IsTag)
.OnlyWhenDynamic(() => !IsLocalBuild && !IsTag && !IsPullRequest)
.ProceedAfterFailure()
.Executes(() =>
{
Expand Down

0 comments on commit 2df1944

Please sign in to comment.