mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-03 12:20:38 +08:00
docs: optimize condition of github actions
This commit is contained in:
@ -7,10 +7,11 @@ You can use our pre-built Github Action Docker image to run PR-Agent as a Github
|
||||
```yaml
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened,reopened,ready_for_review,review_requested]
|
||||
types: [opened, reopened, ready_for_review]
|
||||
issue_comment:
|
||||
jobs:
|
||||
pr_agent_job:
|
||||
if: ${{ github.event.sender.type != 'Bot' }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
@ -29,11 +30,12 @@ jobs:
|
||||
```yaml
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened,reopened,ready_for_review,review_requested]
|
||||
types: [opened, reopened, ready_for_review]
|
||||
issue_comment:
|
||||
|
||||
jobs:
|
||||
pr_agent_job:
|
||||
if: ${{ github.event.sender.type != 'Bot' }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
|
Reference in New Issue
Block a user