feat: presets configuration file #13
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: Azion AI Code Review | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches: | |
- main | |
- stage | |
permissions: | |
contents: read | |
pull-requests: write | |
checks: write | |
jobs: | |
ai-code-review: | |
name: AI Code Review | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
repository: aziontech/azion-github-actions | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run AI Code Review | |
uses: ./actions/azion-ai-code-review | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
azion-token: ${{ secrets.AZION_TOKEN }} | |
prompt: | | |
Analyze the following pull request and provide a summary of what it implements, including good practices, possible problems, and suggestions for improvement. Please keep the response concise. | |
max-files: 1000 |