Skip to content

Commit a7c3a1f

Browse files
committed
- adds the codeql check to the policy
1 parent a065515 commit a7c3a1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/policies/msgraph-beta-sdk-python-branch-protection.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ configuration:
3636
requiresLinearHistory: false
3737
# 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
3838
requiredStatusChecks:
39+
- CodeQL
3940
- Validate code accuracy
4041
# Require branches to be up to date before merging. This should be false since the repo contains autogenerated files. boolean
41-
requiresStrictStatusChecks: false
42+
requiresStrictStatusChecks: true
4243
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
4344
restrictsPushes: false
4445
# Restrict who can dismiss pull request reviews. boolean

0 commit comments

Comments
 (0)