From 81e12ec94b763a58431b0f58a703ceedfaa39985 Mon Sep 17 00:00:00 2001 From: Milad Khajavi Date: Mon, 18 Sep 2023 10:33:30 +0330 Subject: [PATCH] don't trigger ci on create events. --- .github/workflows/ci.yml | 1 - zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69506956..375f0bb5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,6 @@ env: branches: - main pull_request: {} - create: {} jobs: build: name: Build diff --git a/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala b/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala index 79c81f2c..773bb6f8 100644 --- a/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala +++ b/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala @@ -547,8 +547,7 @@ object ZioSbtCiPlugin extends AutoPlugin { Trigger.WorkflowDispatch(), Trigger.Release(Seq("published")), Trigger.Push(branches = enabledBranches.map(Branch.Named)), - Trigger.PullRequest(), - Trigger.Create() + Trigger.PullRequest() ), jobs = buildJobs ++ lintJobs ++ testJobs ++ updateReadmeJobs ++ reportSuccessful ++ releaseJobs ++ postReleaseJobs