-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve merge conflicts btwn dev and kiota-preview branch
- Loading branch information
Showing
9 changed files
with
236 additions
and
261 deletions.
There are no files selected for viewing
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,79 @@ | ||
# 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: msgraph-sdk-php-branch-protection | ||
description: Branch protection policy for the msgraph-sdk-php repository | ||
resource: repository | ||
configuration: | ||
branchProtectionRules: | ||
|
||
- branchNamePattern: dev | ||
# This branch pattern applies to the following branches as of 06/12/2023 10:31:17: | ||
# 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: true | ||
# 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: | ||
- check-php-version-matrix | ||
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean | ||
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 | ||
restrictsReviewDismissals: false | ||
|
||
- branchNamePattern: main | ||
# This branch pattern applies to the following branches as of 06/12/2023 10:31:17: | ||
# main | ||
|
||
# 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: false | ||
# 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: true | ||
# 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: | ||
- check-php-version-matrix | ||
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean | ||
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 | ||
restrictsReviewDismissals: false | ||
|
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,101 @@ | ||
id: | ||
name: GitOps.PullRequestIssueManagement | ||
description: GitOps.PullRequestIssueManagement primitive | ||
owner: | ||
resource: repository | ||
disabled: false | ||
where: | ||
configuration: | ||
resourceManagementConfiguration: | ||
scheduledSearches: | ||
- description: | ||
frequencies: | ||
- hourly: | ||
hour: 1 | ||
filters: | ||
- isIssue | ||
- isOpen | ||
- hasLabel: | ||
label: 'Needs: Author Feedback' | ||
- hasLabel: | ||
label: no-recent-activity | ||
- noActivitySince: | ||
days: 3 | ||
- isNotLabeledWith: | ||
label: service bug | ||
actions: | ||
- closeIssue | ||
- description: | ||
frequencies: | ||
- hourly: | ||
hour: 1 | ||
filters: | ||
- isIssue | ||
- isOpen | ||
- hasLabel: | ||
label: 'Needs: Author Feedback' | ||
- noActivitySince: | ||
days: 4 | ||
- isNotLabeledWith: | ||
label: no-recent-activity | ||
actions: | ||
- addLabel: | ||
label: no-recent-activity | ||
- addReply: | ||
reply: This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. | ||
- description: | ||
frequencies: | ||
- hourly: | ||
hour: 1 | ||
filters: | ||
- isIssue | ||
- isOpen | ||
- hasLabel: | ||
label: duplicate | ||
- noActivitySince: | ||
days: 1 | ||
actions: | ||
- addReply: | ||
reply: This issue has been marked as duplicate and has not had any activity for **1 day**. It will be closed for housekeeping purposes. | ||
- closeIssue | ||
eventResponderTasks: | ||
- if: | ||
- payloadType: Issue_Comment | ||
- isAction: | ||
action: Created | ||
- isActivitySender: | ||
issueAuthor: True | ||
- hasLabel: | ||
label: 'Needs: Author Feedback' | ||
then: | ||
- addLabel: | ||
label: 'Needs: Attention :wave:' | ||
- removeLabel: | ||
label: 'Needs: Author Feedback' | ||
description: | ||
- if: | ||
- payloadType: Issues | ||
- not: | ||
isAction: | ||
action: Closed | ||
- hasLabel: | ||
label: no-recent-activity | ||
then: | ||
- removeLabel: | ||
label: no-recent-activity | ||
description: | ||
- if: | ||
- payloadType: Issues | ||
- labelAdded: | ||
label: service bug | ||
then: [] | ||
description: | ||
- if: | ||
- payloadType: Pull_Request | ||
- isAction: | ||
action: Opened | ||
then: | ||
- addCodeFlowLink | ||
description: | ||
onFailure: | ||
onSuccess: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.8 BLOCK --> | ||
|
||
## Security | ||
|
||
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/). | ||
|
||
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below. | ||
|
||
## Reporting Security Issues | ||
|
||
**Please do not report security vulnerabilities through public GitHub issues.** | ||
|
||
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report). | ||
|
||
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey). | ||
|
||
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc). | ||
|
||
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: | ||
|
||
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) | ||
* Full paths of source file(s) related to the manifestation of the issue | ||
* The location of the affected source code (tag/branch/commit or direct URL) | ||
* Any special configuration required to reproduce the issue | ||
* Step-by-step instructions to reproduce the issue | ||
* Proof-of-concept or exploit code (if possible) | ||
* Impact of the issue, including how an attacker might exploit the issue | ||
|
||
This information will help us triage your report more quickly. | ||
|
||
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs. | ||
|
||
## Preferred Languages | ||
|
||
We prefer all communications to be in English. | ||
|
||
## Policy | ||
|
||
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd). | ||
|
||
<!-- END MICROSOFT SECURITY.MD BLOCK --> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.