Skip to content

Commit

Permalink
Merge pull request #19 from rishi-raj-jain/rishi-raj-jain-patch-11
Browse files Browse the repository at this point in the history
Update review.yml
  • Loading branch information
Rishi Raj Jain authored Sep 10, 2023
2 parents 6069ef4 + 2f7463d commit 27ce21a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: rishi.app PR Code Review via Open AI
name: Capgo PR Code Review via Open AI

permissions:
contents: read
Expand All @@ -9,10 +9,6 @@ on:
types:
- opened
- synchronize
pull_request:
types:
- opened
- synchronize

jobs:
authorization:
Expand All @@ -23,7 +19,7 @@ jobs:
- name: Check if the author is the pull request creator
id: check_author
run: |
if [[ "${{ github.event.pull_request.user.login }}" == "${{ github.event.pull_request.user.login }}" ]]; then
if [[ "${{ github.event.pull_request.user.login }}" == "${{ github.event.repository.owner.login }}" ]]; then
echo "::set-output name=authorized::true"
else
echo "::set-output name=authorized::false"
Expand Down

0 comments on commit 27ce21a

Please sign in to comment.