From 64ec26e26d4f8f7a5a27558e8f4412560be7ed15 Mon Sep 17 00:00:00 2001 From: VimleshGupta Date: Wed, 15 May 2024 11:11:18 +0100 Subject: [PATCH] Add mergify to automatically approve to scala-steward PRs --- .github/mergify.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/mergify.yml diff --git a/.github/mergify.yml b/.github/mergify.yml new file mode 100644 index 0000000..b4bee73 --- /dev/null +++ b/.github/mergify.yml @@ -0,0 +1,20 @@ +queue_rules: + - name: default + conditions: + - "check-success=test / test" + - "check-success=security/snyk (nationalarchives)" +pull_request_rules: + - name: automatic merge for Scala Steward + conditions: + - author=tna-digital-archiving-jenkins + - "check-success=test / test" + - "check-success=security/snyk (nationalarchives)" + - or: + - files=build.sbt + - files~=^(!?project/) + actions: + review: + type: APPROVE + message: Automatically approving Scala Steward + queue: + name: default