From bec07458c994bd7553638e4d499e17cfedd07831 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Thu, 9 Feb 2023 18:51:40 -0800 Subject: [PATCH] Update for latest files from the Microsoft GitHub template (#160) --- LICENSE | 34 ++++++++++++------------ README.md | 2 ++ SECURITY.md | 16 +++++------ build/DirectXMath-GitHub-CMake-Dev17.yml | 4 ++- build/DirectXMath-GitHub-CMake.yml | 16 ++++++++++- build/DirectXMath-GitHub-Dev17.yml | 12 +++------ build/DirectXMath-GitHub-MinGW.yml | 23 +++++++++++++++- build/DirectXMath-GitHub-WSL-11.yml | 4 ++- build/DirectXMath-GitHub-WSL.yml | 23 +++++++++++++++- build/DirectXMath-GitHub.yml | 31 ++++++++++++++------- 10 files changed, 117 insertions(+), 48 deletions(-) diff --git a/LICENSE b/LICENSE index 74ee338..9e841e7 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,21 @@ - The MIT License (MIT) + MIT License -Copyright (c) 2011-2022 Microsoft Corp + Copyright (c) Microsoft Corporation. -Permission is hereby granted, free of charge, to any person obtaining a copy of this -software and associated documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to the following -conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all copies -or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE -OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE diff --git a/README.md b/README.md index 448640c..dcf4a94 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,8 @@ This project welcomes contributions and suggestions. Most contributions require When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. +## Code of Conduct + This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. ## Trademarks diff --git a/SECURITY.md b/SECURITY.md index f7b8998..869fdfe 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,20 +1,20 @@ - + ## 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://docs.microsoft.com/en-us/previous-versions/tn-archive/cc751383(v=technet.10)), please report it to us as described below. +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://msrc.microsoft.com/create-report). +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://www.microsoft.com/en-us/msrc/pgp-key-msrc). +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://www.microsoft.com/msrc). +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: @@ -28,7 +28,7 @@ Please include the requested information listed below (as much as you can provid 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://microsoft.com/msrc/bounty) page for more details about our active programs. +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 @@ -36,6 +36,6 @@ We prefer all communications to be in English. ## Policy -Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd). +Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd). - \ No newline at end of file + diff --git a/build/DirectXMath-GitHub-CMake-Dev17.yml b/build/DirectXMath-GitHub-CMake-Dev17.yml index 4cff817..4e4a1b4 100644 --- a/build/DirectXMath-GitHub-CMake-Dev17.yml +++ b/build/DirectXMath-GitHub-CMake-Dev17.yml @@ -12,12 +12,14 @@ schedules: include: - main +trigger: none +pr: none + resources: repositories: - repository: self type: git ref: refs/heads/main - trigger: none name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r) diff --git a/build/DirectXMath-GitHub-CMake.yml b/build/DirectXMath-GitHub-CMake.yml index 1c4e4cd..a6b26b2 100644 --- a/build/DirectXMath-GitHub-CMake.yml +++ b/build/DirectXMath-GitHub-CMake.yml @@ -12,12 +12,26 @@ schedules: include: - main +trigger: + branches: + include: + - main + paths: + include: + - CMakeLists.txt +pr: + branches: + include: + - main + paths: + include: + - CMakeLists.txt + resources: repositories: - repository: self type: git ref: refs/heads/main - trigger: none name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r) diff --git a/build/DirectXMath-GitHub-Dev17.yml b/build/DirectXMath-GitHub-Dev17.yml index ae7ea23..97e84ce 100644 --- a/build/DirectXMath-GitHub-Dev17.yml +++ b/build/DirectXMath-GitHub-Dev17.yml @@ -12,20 +12,14 @@ schedules: include: - main +trigger: none +pr: none + resources: repositories: - repository: self type: git ref: refs/heads/main - trigger: - branches: - include: - - main - paths: - exclude: - - README.md - - HISTORY.md - - SECURITY.md name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r) diff --git a/build/DirectXMath-GitHub-MinGW.yml b/build/DirectXMath-GitHub-MinGW.yml index 309e8d7..eb4cca8 100644 --- a/build/DirectXMath-GitHub-MinGW.yml +++ b/build/DirectXMath-GitHub-MinGW.yml @@ -12,12 +12,33 @@ schedules: include: - main +trigger: + branches: + include: + - main + paths: + exclude: + - README.md + - HISTORY.md + - SECURITY.md + - LICENSE +pr: + branches: + include: + - main + paths: + exclude: + - README.md + - HISTORY.md + - SECURITY.md + - LICENSE + drafts: false + resources: repositories: - repository: self type: git ref: refs/heads/main - trigger: none name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r) diff --git a/build/DirectXMath-GitHub-WSL-11.yml b/build/DirectXMath-GitHub-WSL-11.yml index c8f7b3c..856cd8d 100644 --- a/build/DirectXMath-GitHub-WSL-11.yml +++ b/build/DirectXMath-GitHub-WSL-11.yml @@ -12,12 +12,14 @@ schedules: include: - main +trigger: none +pr: none + resources: repositories: - repository: self type: git ref: refs/heads/main - trigger: none name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r) diff --git a/build/DirectXMath-GitHub-WSL.yml b/build/DirectXMath-GitHub-WSL.yml index 05d6c11..e5272fe 100644 --- a/build/DirectXMath-GitHub-WSL.yml +++ b/build/DirectXMath-GitHub-WSL.yml @@ -12,12 +12,33 @@ schedules: include: - main +trigger: + branches: + include: + - main + paths: + exclude: + - README.md + - HISTORY.md + - SECURITY.md + - LICENSE +pr: + branches: + include: + - main + paths: + exclude: + - README.md + - HISTORY.md + - SECURITY.md + - LICENSE + drafts: false + resources: repositories: - repository: self type: git ref: refs/heads/main - trigger: none name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r) diff --git a/build/DirectXMath-GitHub.yml b/build/DirectXMath-GitHub.yml index 393762b..1fde124 100644 --- a/build/DirectXMath-GitHub.yml +++ b/build/DirectXMath-GitHub.yml @@ -12,20 +12,33 @@ schedules: include: - main +trigger: + branches: + include: + - main + paths: + exclude: + - README.md + - HISTORY.md + - SECURITY.md + - LICENSE +pr: + branches: + include: + - main + paths: + exclude: + - README.md + - HISTORY.md + - SECURITY.md + - LICENSE + drafts: false + resources: repositories: - repository: self type: git ref: refs/heads/main - trigger: - branches: - include: - - main - paths: - exclude: - - README.md - - HISTORY.md - - SECURITY.md name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)