Skip to content

Add linting workflow for code quality checks #41

Add linting workflow for code quality checks

Add linting workflow for code quality checks #41

Workflow file for this run

name: PR Agent
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
jobs:
pr-agent:
name: PR Agent
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: PR Agent
uses: Codium-ai/pr-agent@main
env:
openrouter__key: ${{ secrets.OPENROUTE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENROUTER_API_KEY: ${{ secrets.OPENROUTE_API_KEY }}
OPENROUTER_BASE_URL: https://openrouter.ai/api/v1
with:
args: |
--mode=review
--review_comment_lgtm=false
--model=openrouter/deepseek/deepseek-r1-0528-qwen3-8b:free
--enable_synchronize=true
--force_review=true
--skip_if_no_changes=false
--verbose=true
# --path_filters="**/*.py,**/*.js,**/*.ts,**/*.yml,**/*.yaml,**/*.json,**/*.md,**/*.dockerfile,**/Dockerfile"