-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update/ox-0.5.8
- Loading branch information
Showing
5 changed files
with
65 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: 1 | ||
labels: | ||
- label: "automerge" | ||
authors: ["softwaremill-ci"] | ||
files: | ||
- "build.sbt" | ||
- "project/plugins.sbt" | ||
- "project/build.properties" | ||
- label: "dependency" | ||
authors: ["softwaremill-ci"] | ||
files: | ||
- "build.sbt" | ||
- "project/plugins.sbt" | ||
- "project/build.properties" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,3 +89,41 @@ jobs: | |
|
||
- name: Publish docker image | ||
run: sbt backend/docker:publish | ||
|
||
# `automerge` label is attached iff there is exactly one file changed by steward and this file belongs to a | ||
# whitelist specified by `labeler.yml` | ||
label: | ||
name: Attach automerge label | ||
# only for PRs by softwaremill-ci | ||
if: github.event.pull_request.user.login == 'softwaremill-ci' | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
# count number of files changed | ||
- name: Count number of files changed | ||
id: count-changed-files | ||
run: | | ||
N=$(git diff --name-only -r HEAD^1 HEAD | wc -w) | ||
echo "changed_files_num=$N" >> $GITHUB_OUTPUT | ||
- name: Launch labeler | ||
# skip if more than one file changed | ||
if: steps.count-changed-files.outputs.changed_files_num == 1 | ||
uses: srvaroa/labeler@master | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
auto-merge: | ||
name: Auto merge | ||
# only for PRs by softwaremill-ci | ||
if: github.event.pull_request.user.login == 'softwaremill-ci' | ||
needs: [ verify, label ] | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- id: automerge | ||
name: automerge | ||
uses: "pascalgn/[email protected]" | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
MERGE_METHOD: "squash" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
version=3.8.3 | ||
version=3.8.4 | ||
maxColumn = 140 | ||
runner.dialect = scala3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.12.0") | ||
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.13.1") | ||
|
||
addSbtPlugin("io.spray" % "sbt-revolver" % "0.10.0") | ||
|
||
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.3.0") | ||
|
||
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.10.4") | ||
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.11.0") | ||
|
||
addSbtPlugin("com.github.sbt" % "sbt-git" % "2.1.0") | ||
|
||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.3") |