microsoft/.github

Public

mirrored from https://github.com/microsoft/.githubAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
main

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

policies/mandatory-file-License.yml

29lines · modecode

1# metadata
2name: This repo is missing a LICENSE file
3description: This is a config to check if a LICENSE is present in a repo.
4
5# filters
6resource: repository
7where:
8- |
9 !repository.name.equals("vscode-wiki", StringComparison.InvariantCultureIgnoreCase) # A special repo that mirrors vscode.wiki to enable contributions
10 && !repository.name.equals("winforms-designer", StringComparison.InvariantCultureIgnoreCase) # Private repo for collaboration with third party control vendors. It uses VS Supplemental License.
11
12# primitive configuration
13configuration:
14 mandatoryFiles:
15 issueTitle: This repo is missing a LICENSE file
16 issueBody: |
17 This repository is currently missing a LICENSE file.
18
19 A license helps users understand how to use your project in a compliant manner. You can find the standard MIT license Microsoft uses at: https://github.com/microsoft/repo-templates/blob/main/shared/LICENSE.
20
21 If you would like to learn more about open source licenses, please visit the document at https://aka.ms/license (Microsoft-internal guidance).
22 prTitle: Adding Microsoft LICENSE
23 prBody:
24 file:
25 - path: license((-|_)([a-z0-9])*)*(\.[-_a-z0-9]+)*
26 ignoreCase: true
27 issueReminder:
28 firstReminderGapDays: -1
29 followUpReminderGapDays: 0
30