diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index f9331358899c..cb400662e951 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -1,11 +1,11 @@ # Policybot docs live at https://eng.ms/docs/more/github-inside-microsoft/policies/resource-management -id: +id: name: GitOps.PullRequestIssueManagement description: GitOps.PullRequestIssueManagement primitive -owner: +owner: resource: repository disabled: false -where: +where: configuration: resourceManagementConfiguration: scheduledSearches: @@ -347,13 +347,12 @@ configuration: - payloadType: Pull_Request - isAction: action: Opened - - or: - - includesModifiedFiles: - files: - - src/Shared/Runtime + - includesModifiedFiles: + files: + - src/Shared/Runtime then: - addReply: - reply: Greetings human! You've submitted a PR that modifies code that is shared with https://github.com/dotnet/runtime . Please make sure you synchronize this code with the changes in that repo! + reply: Greetings! You've submitted a PR that modifies code that is shared with https://github.com/dotnet/runtime . Please make sure you synchronize this code with the changes in that repo! - addLabel: label: 'Attention: Shared Code Modified' description: '[Shared Code PRs] Flag PRs that affect shared code src/Shared/Runtime' @@ -759,8 +758,8 @@ configuration: - enableAutoMerge: mergeMethod: "squash" description: '[Infrastructure PRs] Add area-infrastructure label to dependabot update Pull Requests & enable auto-merge' -onFailure: -onSuccess: +onFailure: +onSuccess: