CodeRabbit Retry #919
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: 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' }} |