Skip to content

Commit

Permalink
Merge pull request #1 from PublicisSapient/readme-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mayureshbhardwaj authored Sep 5, 2023
2 parents 994ade1 + 2e17c34 commit beb1c05
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit beb1c05

Please sign in to comment.