feat: repeat token claim as long as there are outstanding tokens #718
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: "Claude review (label: claudius-review)" | |
| "on": | |
| pull_request: | |
| types: [labeled, synchronize] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| review: | |
| if: > | |
| github.event.pull_request.draft == false && | |
| ( | |
| (github.event.action == 'labeled' && github.event.label.name == 'claudius-review') || | |
| (github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'claudius-review')) | |
| ) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 40 | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| id-token: write | |
| env: | |
| ANTHROPIC_MODEL: ${{ vars.CLAUDE_MODEL || 'opus' }} | |
| steps: | |
| - name: Claudius Review | |
| uses: lklimek/claudius-review-action@main | |
| with: | |
| claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN_LKLIMEK }} | |
| memcan_url: ${{ vars.MEMCAN_URL }} | |
| memcan_api_key: ${{ secrets.MEMCAN_API_KEY }} |