[pull] master from iluwatar:master #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Presubmit.ai | |
permissions: | |
contents: read | |
pull-requests: write | |
issues: write | |
on: | |
pull_request: | |
pull_request_review_comment: | |
types: [created] | |
jobs: | |
review: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check required secrets | |
run: | | |
if [ -z "${{ secrets.LLM_API_KEY }}" ]; then | |
echo "Error: LLM_API_KEY secret is not configured" | |
exit 1 | |
fi | |
- uses: presubmit/ai-reviewer@latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
LLM_API_KEY: ${{ secrets.LLM_API_KEY }} | |
LLM_MODEL: "gemini-1.5-flash" |