Clarify that pull_request_review_write create without event creates a pending review #282
This file contains hidden or 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
| name: Label issues for AI review | |
| on: | |
| issues: | |
| types: | |
| - reopened | |
| - opened | |
| jobs: | |
| label_issues: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - name: Add AI review label to issue | |
| run: gh issue edit "$NUMBER" --add-label "$LABELS" | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GH_REPO: ${{ github.repository }} | |
| NUMBER: ${{ github.event.issue.number }} | |
| LABELS: "request ai review" |