From 2e17c3409ddc3921330e58c47a4b68e9b5e36de1 Mon Sep 17 00:00:00 2001 From: Microsoft Learn Student Date: Tue, 5 Sep 2023 10:45:22 -0400 Subject: [PATCH] Adding License, Codeowners and Readme Updates - New License file which was missing - Updates to Readme to correct the Usage - Adding the Codeowners to Admin team --- .github/CODEOWNERS | 5 +++++ LICENSE | 21 +++++++++++++++++++++ README.md | 4 ++-- 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .github/CODEOWNERS create mode 100644 LICENSE diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..4654e81 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,5 @@ +# Lines starting with '#' are comments. +# Each line is a file pattern followed by one or more owners. +# These owners will be the default owners for everything in the repo. + +* @cloud-devops-na-admins \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..08f2118 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Mayuresh Bhardwaj + +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. \ No newline at end of file diff --git a/README.md b/README.md index 2c139be..1908995 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Before running this, ensure you have the following: ```yml - name: ChatGpt Comment - uses: ps-aartread-org/chatgpt-comment-pull-request@main + uses: PublicisSapient/devops-chatgpt-comment-pull-request@main ``` This action will retrieve the pull request information and generate an explanation of the changes using the OpenAI API. If the explanation exceeds the maximum token limit or there are no changes after filtering, a comment will not be created. @@ -161,7 +161,7 @@ jobs: name: Add Comment steps: - name: Add Comment - uses: ps-aartread-org/chatgpt-comment-pull-request@main + uses: PublicisSapient/devops-chatgpt-comment-pull-request@main with: github-token: ${{ secrets.GITHUB_TOKEN }} open-api-key: ${{ secrets.CHATGPT_API_KEY }}