Add CustomInstructionsPath Variable #24
This file contains hidden or 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: PR Review | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, labeled, unlabeled] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| review: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: AI PR Review | |
| uses: jonit-dev/openrouter-github-action@main | |
| with: | |
| # Required inputs | |
| github_token: ${{ secrets.GITHUB_TOKEN }} # Automatically provided | |
| open_router_key: ${{ secrets.OPEN_ROUTER_KEY }} # Must be set in repository secrets | |
| # Optional inputs with defaults | |
| model_id: "anthropic/claude-3.5-sonnet:beta" # Default model | |
| max_tokens: "2048" # Default max tokens | |
| review_label: "ai-review" |