From 5240d429f99743bde597ba5b70defad499fdaa15 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Mon, 9 Jan 2023 19:32:58 -0800 Subject: [PATCH 1/7] Update sbt-example to 9.2.1 in template (#32) --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index b797e5c..7ca6887 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -10,4 +10,4 @@ addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2-1") addSbtPlugin("org.lyranthe.sbt" % "partial-unification" % "1.1.2") -addSbtPlugin("com.thoughtworks.example" % "sbt-example" % "7.0.1") +addSbtPlugin("com.thoughtworks.example" % "sbt-example" % "9.2.1") From ec457efaaed11636eb94785112b1152901a29d0a Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Mon, 9 Jan 2023 19:33:25 -0800 Subject: [PATCH 2/7] Update sbt-pgp to 2.1.1 in template (#31) --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 7ca6887..987080b 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -6,7 +6,7 @@ addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.15") addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1") -addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2-1") +addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.1.1") addSbtPlugin("org.lyranthe.sbt" % "partial-unification" % "1.1.2") From 78469342a5052ef7617a48b80b99ceed649b88eb Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Mon, 9 Jan 2023 19:35:20 -0800 Subject: [PATCH 3/7] Update sbt-pgp to 2.1.2 in template (#33) --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 987080b..1ef8873 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -6,7 +6,7 @@ addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.15") addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1") -addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.1.1") +addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2") addSbtPlugin("org.lyranthe.sbt" % "partial-unification" % "1.1.2") From b531301aa2f684e8715694009c4cd16d2157d920 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Mon, 9 Jan 2023 21:37:11 -0800 Subject: [PATCH 4/7] Update sbt-pgp to 2.2.1 in template (#34) --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 1ef8873..96ffca3 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -6,7 +6,7 @@ addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.15") addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1") -addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2") +addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1") addSbtPlugin("org.lyranthe.sbt" % "partial-unification" % "1.1.2") From 8bd4b572a662636e32ad07483a06c63eb9e05c09 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Mon, 9 Jan 2023 21:51:30 -0800 Subject: [PATCH 5/7] Update scala-steward.yml --- .github/workflows/scala-steward.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scala-steward.yml b/.github/workflows/scala-steward.yml index b18a27b..449cd0e 100644 --- a/.github/workflows/scala-steward.yml +++ b/.github/workflows/scala-steward.yml @@ -1,7 +1,7 @@ on: push: branches-ignore: - - update/** + - 'update/**' schedule: - cron: '0 0 * * 0' From 2d4d89930c600aa12f3070b3222f3d39a7e5787b Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Tue, 10 Jan 2023 00:26:54 -0800 Subject: [PATCH 6/7] Update scala.yml --- .github/workflows/scala.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index 72126ac..7cfd92c 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -1,8 +1,10 @@ name: Scala CI on: -- push -- pull_request + push: + branches-ignore: + - 'update/**' + pull_request: jobs: build: From b78f28da525f4b25b2bd2a3b4eb19bf5f6855037 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Tue, 10 Jan 2023 00:29:44 -0800 Subject: [PATCH 7/7] Update scala.yml --- .github/workflows/scala.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index 7cfd92c..bd9b0f8 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -42,5 +42,5 @@ jobs: - name: Publish to Maven Central Repository env: GITHUB_PERSONAL_ACCESS_TOKEN: ${{secrets.PERSONAL_ACCESS_TOKEN}} - if: ${{ env.GITHUB_PERSONAL_ACCESS_TOKEN != '' }} + if: ${{ env.GITHUB_PERSONAL_ACCESS_TOKEN != '' && github.event_name != 'pull_request' }} run: sbt ++${{ matrix.scala }} "set every Seq(sonatypeSessionName := \"${{github.workflow}} ${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}-$$ ${{ matrix.scala }}\", publishTo := sonatypePublishToBundle.value)" publishSigned sonatypeBundleRelease