RTL/.github/workflows/rtlreviewbot.yml
Suheb 3ae6d65ca2
Update rtlreviewbot.yml
Updated the timeout limit to 20 minutes
2026-07-19 13:35:34 -07:00

31 lines
1.2 KiB
YAML

name: rtlreviewbot
on:
issue_comment:
types: [created]
pull_request:
types: [review_requested, closed]
permissions:
contents: read
jobs:
review:
if: ${{ github.event_name != 'issue_comment' || github.event.issue.pull_request != null }}
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: Ride-The-Lightning/rtlreviewbot-action@main
with:
event_name: ${{ github.event_name }}
event_action: ${{ github.event.action }}
repo: ${{ github.repository }}
pr_number: ${{ github.event.issue.number || github.event.pull_request.number }}
actor: ${{ github.event.sender.login }}
comment_body: ${{ github.event.comment.body }}
comment_id: ${{ github.event.comment.id }}
installation_id: 127679607
app_id: ${{ secrets.GATEWAY_APP_ID }}
private_key: ${{ secrets.GATEWAY_PRIVATE_KEY }}
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}