From a7c3a1fb7fe47fe1e24049af8be7d48b00c3ad13 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Tue, 16 Apr 2024 15:29:16 -0400 Subject: [PATCH] - adds the codeql check to the policy --- .github/policies/msgraph-beta-sdk-python-branch-protection.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/policies/msgraph-beta-sdk-python-branch-protection.yml b/.github/policies/msgraph-beta-sdk-python-branch-protection.yml index 5a2f6945852..c0c6a36d033 100644 --- a/.github/policies/msgraph-beta-sdk-python-branch-protection.yml +++ b/.github/policies/msgraph-beta-sdk-python-branch-protection.yml @@ -36,9 +36,10 @@ configuration: requiresLinearHistory: false # Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status requiredStatusChecks: + - CodeQL - Validate code accuracy # Require branches to be up to date before merging. This should be false since the repo contains autogenerated files. boolean - requiresStrictStatusChecks: false + requiresStrictStatusChecks: true # Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush. restrictsPushes: false # Restrict who can dismiss pull request reviews. boolean