From b4969d0cf78de600b9df9c54a242dde2b6f92ef5 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Tue, 16 Nov 2021 18:49:30 -0800 Subject: [PATCH 01/30] Add runner.dialect and update scalafmt version --- .scalafmt.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 9c1a40c..a6300ed 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,2 +1,3 @@ -version = "2.2.2" +runner.dialect = "scala213" +version = "3.1.1" maxColumn = 120 From a29a0e31f50f4d822c837a84b4b3cfcd5b02994a Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Sun, 5 Dec 2021 22:33:26 -0800 Subject: [PATCH 02/30] Update sbt-best-practice to 8.2.1 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 0bdc8bc..38bc3b0 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -addSbtPlugin("com.thoughtworks.sbt-best-practice" % "sbt-best-practice" % "8.0.0") +addSbtPlugin("com.thoughtworks.sbt-best-practice" % "sbt-best-practice" % "8.2.1") addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.8") From 9f9cf58088b8236e47cc8fbebf009bb5647c015a Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Tue, 7 Dec 2021 01:38:30 -0800 Subject: [PATCH 03/30] Set maxColumn to 80 --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index a6300ed..26467aa 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,3 +1,3 @@ runner.dialect = "scala213" version = "3.1.1" -maxColumn = 120 +maxColumn = 80 From a353ce68acb08fd6c56ad66ccb476237cecab0b7 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Tue, 7 Dec 2021 18:28:20 -0800 Subject: [PATCH 04/30] Update .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 5387d4b..51b7c9d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ secret/ .bloop/ metals.sbt .bsp/sbt.json +.vscode/launch.json From 74ed2d73e404ac3c58bf791b1663e1b601e82525 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Mon, 27 Dec 2021 11:00:01 -0800 Subject: [PATCH 05/30] Update Scala to 2.12.15 --- .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 7796ccc..06ead64 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: scala: - - 2.12.8 + - 2.12.15 steps: - uses: actions/checkout@v2 From e28acdbcf9e59a9c6c15dd1282466de9c8bf0837 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Sat, 5 Feb 2022 21:40:29 -0800 Subject: [PATCH 06/30] Ignore *.scala.semanticdb --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 51b7c9d..1b71645 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ secret/ metals.sbt .bsp/sbt.json .vscode/launch.json +*.scala.semanticdb From 10022752c23977a79aa6af779ac458907f19b4fc Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Thu, 17 Mar 2022 01:53:31 -0700 Subject: [PATCH 07/30] Update .gitignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1b71645..5701ab5 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,6 @@ secret/ .metals/ .bloop/ metals.sbt -.bsp/sbt.json +.bsp/ .vscode/launch.json *.scala.semanticdb From 5ece74ca49806732b22ebad38a2e90b95f033288 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Sat, 19 Mar 2022 10:27:59 -0700 Subject: [PATCH 08/30] Use Temurin JDK --- .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 06ead64..78a21b0 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -23,7 +23,7 @@ jobs: uses: actions/setup-java@v2 with: java-version: '11' - distribution: 'adopt' + distribution: temurin - name: Cache SBT uses: actions/cache@v2 with: From d93376af0a8c6777d9fd30e14cd2866ddbe553dd Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Mon, 9 Jan 2023 08:37:12 -0800 Subject: [PATCH 09/30] Update sbt to 1.7.3 --- project/build.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/build.properties b/project/build.properties index 10fd9ee..6a9f038 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.5.5 +sbt.version=1.7.3 From e4b2a1a38e1156f427b30f008a83a494bab2e897 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Mon, 9 Jan 2023 09:18:20 -0800 Subject: [PATCH 10/30] Update sbt-best-practice to 8.2.4 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 38bc3b0..9c29eba 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -addSbtPlugin("com.thoughtworks.sbt-best-practice" % "sbt-best-practice" % "8.2.1") +addSbtPlugin("com.thoughtworks.sbt-best-practice" % "sbt-best-practice" % "8.2.4") addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.8") From 0bb0dcd6d1f778eb3def989bcec3edd0a46cffa7 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Mon, 9 Jan 2023 12:02:40 -0800 Subject: [PATCH 11/30] Set default Scalafmt dialect to scala212source3 --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 26467aa..da2a9c4 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,3 +1,3 @@ -runner.dialect = "scala213" +runner.dialect = scala212source3 version = "3.1.1" maxColumn = 80 From 9a891e1d2ec043c7f919a3be3949d7c57cd0b3f3 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Mon, 9 Jan 2023 13:09:00 -0800 Subject: [PATCH 12/30] Update GitHub Action versions --- .github/workflows/scala.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index 78a21b0..72126ac 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -16,16 +16,16 @@ jobs: - 2.12.15 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 # Need the git history for sbt-dynver to determine the version - name: Set up JDK 11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: '11' distribution: temurin - name: Cache SBT - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.ivy2/local/ From 0647cdd08064ac4774e9c42ad59835f3d36d7418 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Mon, 9 Jan 2023 19:07:42 -0800 Subject: [PATCH 13/30] Create scala-steward.yml --- .github/workflows/scala-steward.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/scala-steward.yml diff --git a/.github/workflows/scala-steward.yml b/.github/workflows/scala-steward.yml new file mode 100644 index 0000000..ae32d8a --- /dev/null +++ b/.github/workflows/scala-steward.yml @@ -0,0 +1,18 @@ +on: + push: + branches-ignore: + - update/** + schedule: + - cron: '0 0 * * 0' + +name: Launch Scala Steward + +jobs: + scala-steward: + runs-on: ubuntu-22.04 + name: Launch Scala Steward + steps: + - name: Launch Scala Steward + uses: scala-steward-org/scala-steward-action@v2 + with: + github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }} From e27f68442365088b5561a8f5daf9493879e3ead6 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Mon, 9 Jan 2023 19:15:52 -0800 Subject: [PATCH 14/30] Let scala-steward update the current branch --- .github/workflows/scala-steward.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/scala-steward.yml b/.github/workflows/scala-steward.yml index ae32d8a..b18a27b 100644 --- a/.github/workflows/scala-steward.yml +++ b/.github/workflows/scala-steward.yml @@ -16,3 +16,4 @@ jobs: uses: scala-steward-org/scala-steward-action@v2 with: github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }} + branches: ${{ github.ref_name }} From cb5b02be552f35f6a6a450f1e67ff7a97a3910d9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 10 Jan 2023 03:18:20 +0000 Subject: [PATCH 15/30] Update scalafmt-core to 3.1.2 in template --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index da2a9c4..2ae5414 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,3 +1,3 @@ runner.dialect = scala212source3 -version = "3.1.1" +version = "3.1.2" maxColumn = 80 From fb6cfb8aea15a1b339e3ed69e1e96acd7df4cae6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 10 Jan 2023 03:18:24 +0000 Subject: [PATCH 16/30] Reformat with scalafmt 3.1.2 Executed command: scalafmt --non-interactive --- project/plugins.sbt | 4 +++- secret.sbt | 9 +++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 9c29eba..53533ff 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,6 @@ -addSbtPlugin("com.thoughtworks.sbt-best-practice" % "sbt-best-practice" % "8.2.4") +addSbtPlugin( + "com.thoughtworks.sbt-best-practice" % "sbt-best-practice" % "8.2.4" +) addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.8") diff --git a/secret.sbt b/secret.sbt index bb264c7..3014621 100644 --- a/secret.sbt +++ b/secret.sbt @@ -5,10 +5,15 @@ lazy val secret = { IO.delete(secretDirectory) org.eclipse.jgit.api.Git .cloneRepository() - .setURI("https://github.com/ThoughtWorksInc/tw-data-china-continuous-delivery-password.git") + .setURI( + "https://github.com/ThoughtWorksInc/tw-data-china-continuous-delivery-password.git" + ) .setDirectory(secretDirectory) .setCredentialsProvider( - new org.eclipse.jgit.transport.UsernamePasswordCredentialsProvider(token, "") + new org.eclipse.jgit.transport.UsernamePasswordCredentialsProvider( + token, + "" + ) ) .call() .close() From 32568fbcf182a381e4f6622ebdd88f6562e5877b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 10 Jan 2023 03:18:24 +0000 Subject: [PATCH 17/30] Add 'Reformat with scalafmt 3.1.2' to .git-blame-ignore-revs --- .git-blame-ignore-revs | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000..a94ba1f --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Scala Steward: Reformat with scalafmt 3.1.2 +fb6cfb8aea15a1b339e3ed69e1e96acd7df4cae6 From a76dee316f02618250feea5a77739d368fc44a81 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Mon, 9 Jan 2023 19:22:42 -0800 Subject: [PATCH 18/30] Update scalafmt-core to 3.6.1 in template (#30) --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 2ae5414..094ff9b 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,3 +1,3 @@ runner.dialect = scala212source3 -version = "3.1.2" +version = "3.6.1" maxColumn = 80 From 94992e0adbc67f6538b337b8f35431a0a1146588 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 9 Jan 2023 19:24:31 -0800 Subject: [PATCH 19/30] Update sbt-sonatype to 3.9.15 in template (#29) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 53533ff..19fced3 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -2,7 +2,7 @@ addSbtPlugin( "com.thoughtworks.sbt-best-practice" % "sbt-best-practice" % "8.2.4" ) -addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.8") +addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.15") addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.0.0") From 01e962fab039c662b80e8e10344ad9b45c768019 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 9 Jan 2023 19:24:36 -0800 Subject: [PATCH 20/30] Update sbt to 1.8.2 in template (#27) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- project/build.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/build.properties b/project/build.properties index 6a9f038..46e43a9 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.7.3 +sbt.version=1.8.2 From b1c6eed1f77d83ea0449e6e81ea82ea673de4371 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 9 Jan 2023 19:24:40 -0800 Subject: [PATCH 21/30] Update sbt-example to 7.0.1 in template (#26) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 19fced3..3ecf26e 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -10,4 +10,4 @@ addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2") addSbtPlugin("org.lyranthe.sbt" % "partial-unification" % "1.1.2") -addSbtPlugin("com.thoughtworks.example" % "sbt-example" % "7.0.0") +addSbtPlugin("com.thoughtworks.example" % "sbt-example" % "7.0.1") From ac530269c9b3af2f3ef25c4dfd5145e5a21fefe6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 9 Jan 2023 19:24:45 -0800 Subject: [PATCH 22/30] Update sbt-pgp to 1.1.2-1 in template (#25) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 3ecf26e..3e7d806 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.0.0") -addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2") +addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2-1") addSbtPlugin("org.lyranthe.sbt" % "partial-unification" % "1.1.2") From 75fd5eee5aedc31427d4df2ff6cfcaceb8c3fa7b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 9 Jan 2023 19:24:48 -0800 Subject: [PATCH 23/30] Update sbt-dynver to 4.1.1 in template (#24) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 3e7d806..b797e5c 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -4,7 +4,7 @@ addSbtPlugin( addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.15") -addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.0.0") +addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1") addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2-1") From 5240d429f99743bde597ba5b70defad499fdaa15 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Mon, 9 Jan 2023 19:32:58 -0800 Subject: [PATCH 24/30] 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 25/30] 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 26/30] 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 27/30] 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 28/30] 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 29/30] 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 30/30] 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