From 850ac169ddfe5db70b6acadf30edf7d553bf7099 Mon Sep 17 00:00:00 2001 From: Brian Holt Date: Fri, 4 Oct 2024 14:56:32 -0500 Subject: [PATCH 1/2] reconfigure Mergify with sbt-typelevel-mergify --- .mergify.yml | 6 ++++-- build.sbt | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index 9101522e..9b526705 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -8,8 +8,10 @@ pull_request_rules: - name: merge scala-steward's PRs conditions: - - author=scala-steward - - body~=labels:.*early-semver-patch + - author=typelevel-steward[bot] + - or: + - body~=labels:.*early-semver-patch + - body~=labels:.*early-semver-minor - status-success=Build and Test (ubuntu-latest, 2.12, temurin@8, rootJS) - status-success=Build and Test (ubuntu-latest, 2.12, temurin@8, rootJVM) - status-success=Build and Test (ubuntu-latest, 2.12, temurin@8, rootNative) diff --git a/build.sbt b/build.sbt index ae24270b..740efa5b 100644 --- a/build.sbt +++ b/build.sbt @@ -27,6 +27,13 @@ ThisBuild / tlCiReleaseBranches += "series/0.1" // start MiMa from here ThisBuild / tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "0.1.6").toMap +ThisBuild / mergifyStewardConfig := Some( + MergifyStewardConfig( + author = "typelevel-steward[bot]", + mergeMinors = true + ) +) + ThisBuild / githubWorkflowAddedJobs += WorkflowJob( id = "docs", From c94aec191f9caf6eb66e01a917a9e9b32de1f17d Mon Sep 17 00:00:00 2001 From: Brian Holt Date: Fri, 4 Oct 2024 14:59:57 -0500 Subject: [PATCH 2/2] remove series/0.1 from tlCiReleaseBranches since we no longer use that branch --- .github/workflows/ci.yml | 8 ++++---- build.sbt | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 761042e0..2f430656 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,15 +83,15 @@ jobs: run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc - name: Make target directories - if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/series/0.1') + if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main') run: mkdir -p modules/mtl/native/target modules/lightstep-grpc/target modules/log/jvm/target modules/noop/jvm/target modules/mock/target modules/testkit/native/target modules/log/native/target modules/testkit/js/target modules/core/native/target modules/docs/target modules/lightstep-http/target modules/datadog/target modules/xray/.jvm/target modules/opentracing/target modules/noop/native/target modules/xray/.js/target modules/core/js/target modules/noop/js/target modules/core/jvm/target modules/jaeger/target modules/opencensus/target modules/honeycomb/target modules/log/js/target modules/mtl/js/target modules/newrelic/target modules/log-odin/target modules/mtl/jvm/target modules/testkit/jvm/target modules/opentelemetry/target modules/lightstep/target project/target - name: Compress target directories - if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/series/0.1') + if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main') run: tar cf targets.tar modules/mtl/native/target modules/lightstep-grpc/target modules/log/jvm/target modules/noop/jvm/target modules/mock/target modules/testkit/native/target modules/log/native/target modules/testkit/js/target modules/core/native/target modules/docs/target modules/lightstep-http/target modules/datadog/target modules/xray/.jvm/target modules/opentracing/target modules/noop/native/target modules/xray/.js/target modules/core/js/target modules/noop/js/target modules/core/jvm/target modules/jaeger/target modules/opencensus/target modules/honeycomb/target modules/log/js/target modules/mtl/js/target modules/newrelic/target modules/log-odin/target modules/mtl/jvm/target modules/testkit/jvm/target modules/opentelemetry/target modules/lightstep/target project/target - name: Upload target directories - if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/series/0.1') + if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main') uses: actions/upload-artifact@v4 with: name: target-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.scala }}-${{ matrix.project }} @@ -100,7 +100,7 @@ jobs: publish: name: Publish Artifacts needs: [build] - if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/series/0.1') + if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main') strategy: matrix: os: [ubuntu-latest] diff --git a/build.sbt b/build.sbt index 740efa5b..c2cea565 100644 --- a/build.sbt +++ b/build.sbt @@ -22,8 +22,6 @@ ThisBuild / developers := List( ThisBuild / startYear := Some(2024) ThisBuild / tlSonatypeUseLegacyHost := false -ThisBuild / tlCiReleaseBranches += "series/0.1" - // start MiMa from here ThisBuild / tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "0.1.6").toMap