mdedetrich commented on code in PR #97:
URL: 
https://github.com/apache/incubator-pekko-sbt-paradox/pull/97#discussion_r1490136304


##########
build.sbt:
##########
@@ -88,12 +91,18 @@ lazy val pekkoPlugin = project
 ThisBuild / githubWorkflowBuild := Seq(WorkflowStep.Sbt(List("test", 
"scripted")))
 
 ThisBuild / githubWorkflowTargetTags ++= Seq("v*")
-ThisBuild / githubWorkflowPublishTargetBranches := Seq()
-ThisBuild / githubWorkflowPublish := Seq()
+ThisBuild / githubWorkflowPublishTargetBranches := Seq(
+  RefPredicate.Equals(Ref.Branch("main")))

Review Comment:
   This ensures that we only run `+publish` when a PR is merged into main, i.e. 
snapshots (see 
https://github.com/sbt/sbt-github-actions?tab=readme-ov-file#integration-with-sbt-ci-release
 for instructions).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to