mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
31 lines
1.2 KiB
YAML
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 }}
|