do nil check for responseCopy.Body #22704
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
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
issue_comment: | |
jobs: | |
pr_agent_job: | |
runs-on: ubuntu-latest | |
name: Run pr agent on every pull request, respond to user comments | |
if: ${{ !github.event.pull_request.draft }} | |
steps: | |
- name: PR Agent action step | |
id: pragent | |
uses: Codium-ai/pr-agent@main | |
env: | |
OPENAI_KEY: ${{ secrets.OPENAI_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |