Skip to content

Refactor NSS and DNSS implementations for improved readability and modularity #10

Refactor NSS and DNSS implementations for improved readability and modularity

Refactor NSS and DNSS implementations for improved readability and modularity #10

Workflow file for this run

name: PR-Agent (Self-hosted Nemotron)
on:
pull_request:
types: [opened, reopened, ready_for_review, synchronize]
issue_comment:
types: [created]
jobs:
pr_agent_job:
if: ${{ github.event.sender.type != 'Bot' }}
runs-on: self-hosted
permissions:
issues: write
pull-requests: write
contents: write
steps:
- name: Run PR-Agent
env:
# GitHub 토큰 (이름 주의!)
GITHUB__USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# OpenAI 설정
OPENAI__KEY: ${{ secrets.OPENAI_KEY }}
OPENAI__API_BASE: "http://localhost:8000/v1"
# 모델 설정
CONFIG__MODEL: "openai/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8"
CONFIG__MODEL_TURBO: "openai/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8"
CONFIG__FALLBACK_MODELS: '["openai/nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8"]'
CONFIG__CUSTOM_MODEL_MAX_TOKENS: "32768"
run: |
source ~/pr-agent-env/bin/activate
pr-agent --pr_url "${{ github.event.pull_request.html_url }}" review