docs: optimize condition of github actions

This commit is contained in:
idubnori
2024-03-27 20:53:46 +09:00
parent 493f73f1ce
commit 020a29ebb8

View File

@ -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