forked from scala-steward-org/scala-steward
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use sbt-typelevel-mergify to generate
.mergify.yml
This replaces sbt-github-actions with sbt-typelevel-github-actions and adds sbt-typelevel-mergify to generate the `.mergify.yml` from our build. The advantage of that approach is that Scala and JDK versions in the Mergify config are always in sync with the build which is verified by the CI via the `githubWorkflowCheck` task.
- Loading branch information
Showing
4 changed files
with
115 additions
and
50 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
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,17 +1,24 @@ | ||
# This file was automatically generated by sbt-typelevel-mergify using the | ||
# mergifyGenerate task. You should add and commit this file to | ||
# your git repository. It goes without saying that you shouldn't edit | ||
# this file by hand! Instead, if you wish to make changes, you should | ||
# change your sbt build configuration to revise the mergify configuration | ||
# to meet your needs, then regenerate this file. | ||
|
||
pull_request_rules: | ||
- name: assign and label scala-steward's PRs | ||
conditions: | ||
- author=scala-steward | ||
actions: | ||
assign: | ||
users: [fthomas] | ||
label: | ||
add: [dependency-update] | ||
- name: merge scala-steward's PRs | ||
conditions: | ||
- author=scala-steward | ||
- status-success=Build and Test (ubuntu-latest, 2.13.10, adopt-hotspot@17) | ||
- status-success=Build and Test (ubuntu-latest, 2.13.10, adopt-hotspot@11) | ||
actions: | ||
merge: | ||
method: squash | ||
- name: label scala-steward's PRs | ||
conditions: | ||
- author=scala-steward | ||
actions: | ||
label: | ||
add: | ||
- dependency-update | ||
remove: [] | ||
- name: merge scala-steward's PRs | ||
conditions: | ||
- author=scala-steward | ||
- status-success=Build and Test (ubuntu-latest, 2.13.10, temurin@17) | ||
- status-success=Build and Test (ubuntu-latest, 2.13.10, temurin@11) | ||
actions: | ||
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
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