Update main.yml

This commit is contained in:
Vishwanath Kulkarni 2024-09-30 21:01:28 -07:00 committed by GitHub
parent 46de89368d
commit b880c37060
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v3
- name: AI Code Reviewer
uses: vishwakulkarni/ai-code-reviewer@main
uses: vishwakulkarni/ai-codereviewer@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # The GITHUB_TOKEN is there by default so you just need to keep it like it is and not necessarily need to add it as secret as it will throw an error. [More Details](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret)
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}