├── README.md ├── policies ├── platformcontext.yml ├── cla.yml └── mandatory-files.yml └── LICENSE /README.md: -------------------------------------------------------------------------------- 1 | # .github 2 | SharePoint GitHub organization policies and configuration 3 | -------------------------------------------------------------------------------- /policies/platformcontext.yml: -------------------------------------------------------------------------------- 1 | name: platform_context 2 | description: The context for GitOps platform, this will drive GitOps specific policies 3 | owner: 4 | resource: repository 5 | where: 6 | configuration: 7 | platformContext: 8 | active: true 9 | onFailure: 10 | onSuccess: 11 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Microsoft Corporation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /policies/cla.yml: -------------------------------------------------------------------------------- 1 | name: Contributor License Agreement Policy 2 | description: CLA policy file 3 | 4 | resource: repository 5 | 6 | configuration: 7 | cla: 8 | content: https://raw.githubusercontent.com/microsoft/.github/main/CLA/microsoft.yml 9 | minimalChangeRequired: 10 | files: 2 11 | codeLines: 16 12 | bypassOrgs: 13 | - bloomberg 14 | bypassUsers: 15 | - dependabot[bot] 16 | - greenkeeper[bot] 17 | - dotnet-maestro[bot] 18 | - dependabot-preview[bot] 19 | - openapi-sdkautomation[bot] 20 | - github-actions[bot] 21 | - content-assistant[bot] 22 | - reunion-maestro[bot] 23 | - renovate[bot] 24 | - microsoft-github-policy-service[bot] 25 | - msftbot[bot] 26 | - azure-pipelines[bot] 27 | - CBL-Mariner-Bot 28 | - pbicvbot 29 | - acomghbot 30 | - azuresdkciprbot 31 | - dotnet-corert-bot 32 | - iotgwbot 33 | - LordBobbot 34 | - qa-bot 35 | - winobjc-bot 36 | - mukaibot 37 | - edtbot 38 | - tecbot 39 | - nzspambot 40 | - SoundBot 41 | - dn-helix-agents-bot 42 | - wslbot 43 | - dotnet-bot 44 | - benrobot 45 | - typescript-bot 46 | - ansibleazurebot 47 | - wdkbot 48 | - deanbot 49 | - OutlookBot 50 | - ALGitHubBot 51 | - blackrobot 52 | - azure-pipelines-bot 53 | - uefibot 54 | - flinchbot 55 | - MicrosoftIssueBot 56 | - agentoffline-bot 57 | - officedocsbot 58 | - vswdbot 59 | - thisisnotarobot 60 | - coreosbot 61 | - McCoyBot 62 | - audevbot 63 | - csd-automationbot 64 | - ascforiotbot 65 | - rnbot 66 | - MixedRealitySpectatorViewBot 67 | - UI-Fabric-RN-Bot 68 | - dotnet-maestro-bot 69 | - anton-bot 70 | - WorkingRobot 71 | - azclibot 72 | - dotnet-docker-bot 73 | - rnsdkbot 74 | - jenfoxbot 75 | - MSLearnBot 76 | - wingetbot 77 | - azure-powershell-bot 78 | - ninjarobot 79 | - leha-bot 80 | - sasabot 81 | - akri-bot 82 | - dokku-bot 83 | - testplatform-bot 84 | - microsoft-golang-bot 85 | - RunTheBot 86 | - julien-lebot 87 | - zangobot 88 | - meo-autobot 89 | - acomghbot 90 | - upgradvisor-bot 91 | - oberonbot 92 | - PylanceBot 93 | - nfbot 94 | - pulumi-bot 95 | - engelbot 96 | - inclusive-coding-bot 97 | - dotnet-winget-bot 98 | - trustedroots-bot 99 | - polymcbot 100 | - LizardByte-bot 101 | - goodboyrobot 102 | - ActivityWatchBot 103 | - OhMyGuus-Bot 104 | - podman-desktop-bot 105 | - liurunliang-bot 106 | - prmerger-test[bot] 107 | - learn-build-service-test[bot] 108 | - learn-build-service-ppe[bot] 109 | - learn-build-service-prod[bot] 110 | prohibitedCompanies: 111 | - msft 112 | - microsoft 113 | autoSignMsftEmployee: true 114 | signRepos: 115 | - repoName: cla-approvers-intel 116 | fileName: approvedUsers.csv 117 | companyName: intel 118 | -------------------------------------------------------------------------------- /policies/mandatory-files.yml: -------------------------------------------------------------------------------- 1 | # metadata 2 | name: mandatory files policy 3 | description: this policy will ensure the presence of important files in Microsoft project repositories. 4 | 5 | # filters 6 | resource: repository 7 | where: 8 | - | 9 | repository.name.equals("sp-dev-docs-ref-typescript.pt-BR", StringComparison.InvariantCultureIgnoreCase) 10 | || repository.name.equals("sp-custom-learning-template", StringComparison.InvariantCultureIgnoreCase) 11 | || repository.name.equals("sp-dev-docs", StringComparison.InvariantCultureIgnoreCase) 12 | || repository.name.equals("sp-dev-docs-client-spo-ref-dotnet", StringComparison.InvariantCultureIgnoreCase) 13 | || repository.name.equals("sp-dev-docs-pnp-ref-dotnet.es-ES", StringComparison.InvariantCultureIgnoreCase) 14 | || repository.name.equals("sp-dev-docs-pnp-ref-dotnet.fr-FR", StringComparison.InvariantCultureIgnoreCase) 15 | || repository.name.equals("sp-dev-docs-pnp-ref-dotnet.ja-JP", StringComparison.InvariantCultureIgnoreCase) 16 | || repository.name.equals("sp-dev-docs-pnp-ref-dotnet.pt-BR", StringComparison.InvariantCultureIgnoreCase) 17 | || repository.name.equals("sp-dev-docs-pnp-ref-dotnet.ru-RU", StringComparison.InvariantCultureIgnoreCase) 18 | || repository.name.equals("sp-dev-docs-pnp-ref-dotnet.zh-CN", StringComparison.InvariantCultureIgnoreCase) 19 | || repository.name.equals("sp-dev-docs-ref-typescript.de-DE", StringComparison.InvariantCultureIgnoreCase) 20 | || repository.name.equals("sp-dev-docs-ref-typescript.fr-FR", StringComparison.InvariantCultureIgnoreCase) 21 | || repository.name.equals("sp-dev-docs-ref-typescript.ja-JP", StringComparison.InvariantCultureIgnoreCase) 22 | || repository.name.equals("sp-dev-docs-ref-typescript.ru-RU", StringComparison.InvariantCultureIgnoreCase) 23 | || repository.name.equals("sp-dev-docs-ref-typescript.zh-CN", StringComparison.InvariantCultureIgnoreCase) 24 | || repository.name.equals("sp-dev-provisioning-templates", StringComparison.InvariantCultureIgnoreCase) 25 | || repository.name.equals("sp-dev-training-spfx-deployment", StringComparison.InvariantCultureIgnoreCase) 26 | || repository.name.equals("sp-dev-training-spfx-extensions", StringComparison.InvariantCultureIgnoreCase) 27 | || repository.name.equals("sp-dev-training-spfx-getting-started", StringComparison.InvariantCultureIgnoreCase) 28 | || repository.name.equals("sp-dev-training-spfx-graph-3rdpartyapis", StringComparison.InvariantCultureIgnoreCase) 29 | || repository.name.equals("sp-dev-training-spfx-spcontent", StringComparison.InvariantCultureIgnoreCase) 30 | || repository.name.equals("sp-dev-training-spfx-teams-dev", StringComparison.InvariantCultureIgnoreCase) 31 | || repository.name.equals("sp-dev-training-spfx-web-parts", StringComparison.InvariantCultureIgnoreCase) 32 | || repository.name.equals("sp-dev-training-spfx-webpart-proppane", StringComparison.InvariantCultureIgnoreCase) 33 | || repository.name.equals("viva-connections-desktop", StringComparison.InvariantCultureIgnoreCase) 34 | 35 | 36 | # primitive configuration 37 | configuration: 38 | mandatoryFiles: 39 | autoMergeDays: 10 40 | issueTitle: This repo is missing important files 41 | issueBody: | 42 | There are important files that Microsoft projects should all have that are not present in this repository. A pull request has been opened to add the missing file(s). When the pr is merged this issue will be closed automatically. 43 | 44 | Microsoft teams can [learn more about this effort and share feedback](https://docs.opensource.microsoft.com/releasing/maintain/templates/) within the open source guidance available internally. 45 | prTitle: Adding Microsoft SECURITY.MD 46 | prBody: | 47 | Please accept this contribution adding the standard Microsoft SECURITY.MD :lock: file to help the community understand the security policy and how to safely report security issues. GitHub uses the presence of this file to light-up security reminders and a link to the file. This pull request commits the latest official SECURITY.MD file from https://github.com/microsoft/repo-templates/blob/main/shared/SECURITY.md. 48 | 49 | Microsoft teams can [learn more about this effort and share feedback](https://docs.opensource.microsoft.com/releasing/maintain/templates/) within the open source guidance available internally. 50 | file: 51 | - path: SECURITY.md 52 | prContentLink: https://raw.githubusercontent.com/microsoft/repo-templates/main/shared/SECURITY.md 53 | ignoreCase: true 54 | prFilePath: SECURITY.md 55 | otherPaths: 56 | - docs/SECURITY.md 57 | - .github/SECURITY.md 58 | issueReminder: 59 | firstReminderGapDays: 7 60 | followUpReminderGapDays: 2 61 | --------------------------------------------------------------------------------