Skip to content

CodeRabbit Retry

CodeRabbit Retry #919

name: CodeRabbit Retry
on:
schedule:
- cron: '17 * * * *' # 每小时运行一次
workflow_dispatch:
inputs:
dry-run:
description: 'Dry run 模式(仅日志,不实际评论)'
type: boolean
default: false
jobs:
retry:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
steps:
- name: Retry CodeRabbit Reviews
uses: idrinth/coderabbit-retry-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
max-retries: '4'
cooldown-hours: '2'
dry-run: ${{ inputs.dry-run || 'false' }}