Skip to content

Commit

Permalink
Merge pull request #199 from nafg/mergify-nafg-scala-steward-prs-too
Browse files Browse the repository at this point in the history
Mergify nafg-scala-steward PRs too
  • Loading branch information
nafg committed Aug 19, 2024
2 parents be4832f + 18f3d31 commit 4049260
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ queue_rules:
pull_request_rules:
- name: Automatically merge successful Scala Steward PRs
conditions:
- author=scala-steward
- or:
- author=scala-steward
- author=nafg-scala-steward[bot]
- check-success=Build and Test (ubuntu-latest, 2.13.14, temurin@8)
- check-success=Build and Test (ubuntu-latest, 3.3.3, temurin@8)
actions:
Expand Down
9 changes: 9 additions & 0 deletions ci.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
import _root_.io.github.nafg.mergify.dsl.*


val repoPath = "nafg/jewish-date"

mergifyExtraConditions := Seq(
(Attr.Author :== "scala-steward") ||
(Attr.Author :== "nafg-scala-steward[bot]")
)

inThisBuild(List(
homepage := Some(url(s"https://github.com/$repoPath")),
licenses := List("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0")),
Expand Down

0 comments on commit 4049260

Please sign in to comment.