From 2db1833f272cc5020bc9e65c32e95f0e27804128 Mon Sep 17 00:00:00 2001 From: Matthew de Detrich Date: Thu, 16 Feb 2023 12:05:35 +0100 Subject: [PATCH] Add github PR check to make sure code is formatted --- .asf.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index a785d6a7af..04897499dc 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -28,7 +28,13 @@ github: rebase: true protected_branches: - main: { } + main: + required_status_checks: + # strict means "Require branches to be up to date before merging". + strict: false + # contexts are the names of checks that must pass + contexts: + - Code is formatted notifications: commits: commits@pekko.apache.org