-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1599 from microsoftgraph/dev
Merges dev into master
- Loading branch information
Showing
31 changed files
with
246 additions
and
46 deletions.
There are no files selected for viewing
86 changes: 86 additions & 0 deletions
86
.github/policies/microsoft-graph-devx-api-branch-protection.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
|
||
# File initially created using https://github.com/MIchaelMainer/policyservicetoolkit/blob/main/branch_protection_export.ps1. | ||
|
||
name: microsoft-graph-devx-api-branch-protection | ||
description: Branch protection policy for the microsoft-graph-devx-api repository | ||
resource: repository | ||
configuration: | ||
branchProtectionRules: | ||
|
||
# The following GitHub PolicyService properties are not yet supported: whoCanDismissReviews | ||
- branchNamePattern: dev | ||
# This branch pattern applies to the following branches as of 06/08/2023 16:23:32: | ||
# dev | ||
|
||
# Specifies whether this branch can be deleted. boolean | ||
allowsDeletions: false | ||
# Specifies whether forced pushes are allowed on this branch. boolean | ||
allowsForcePushes: false | ||
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean | ||
dismissStaleReviews: true | ||
# Specifies whether admins can overwrite branch protection. boolean | ||
isAdminEnforced: false | ||
# Indicates whether "Require a pull request before merging" is enabled. boolean | ||
requiresPullRequestBeforeMerging: true | ||
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required | ||
requiredApprovingReviewsCount: 1 | ||
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean | ||
requireCodeOwnersReview: true | ||
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines. | ||
requiresCommitSignatures: false | ||
# Are conversations required to be resolved before merging? boolean | ||
requiresConversationResolution: false | ||
# Are merge commits prohibited from being pushed to this branch. boolean | ||
requiresLinearHistory: true | ||
# 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: | ||
- license/cla | ||
- DevX API Validate PR | ||
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean | ||
requiresStrictStatusChecks: false | ||
# Indicates whether there are restrictions on who can push. boolean. Requires whoCanPush. | ||
restrictsPushes: false | ||
# Restrict who can dismiss pull request reviews. boolean | ||
restrictsReviewDismissals: true | ||
# List of Apps, Users, and Teams that can dismiss pull request reviews to this branch pattern. | ||
whoCanDismissReviews: | ||
- msgraph-devx-api-write | ||
|
||
- branchNamePattern: master | ||
# This branch pattern applies to the following branches as of 06/08/2023 16:23:32: | ||
# master | ||
|
||
# Specifies whether this branch can be deleted. boolean | ||
allowsDeletions: false | ||
# Specifies whether forced pushes are allowed on this branch. boolean | ||
allowsForcePushes: false | ||
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean | ||
dismissStaleReviews: true | ||
# Specifies whether admins can overwrite branch protection. boolean | ||
isAdminEnforced: false | ||
# Indicates whether "Require a pull request before merging" is enabled. boolean | ||
requiresPullRequestBeforeMerging: true | ||
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required | ||
requiredApprovingReviewsCount: 1 | ||
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean | ||
requireCodeOwnersReview: true | ||
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines. | ||
requiresCommitSignatures: false | ||
# Are conversations required to be resolved before merging? boolean | ||
requiresConversationResolution: false | ||
# Are merge commits prohibited from being pushed to this branch. boolean | ||
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: | ||
- license/cla | ||
- DevX API Validate PR | ||
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean | ||
requiresStrictStatusChecks: false | ||
# Indicates whether there are restrictions on who can push. boolean. Requires whoCanPush. | ||
restrictsPushes: false | ||
# Restrict who can dismiss pull request reviews. boolean | ||
restrictsReviewDismissals: true | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.