GET /files is redirected to DNSPod webblock while POST /files and process API work on custom sandbox domain
#2759
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: AI Assistant | |
| on: | |
| issue_comment: | |
| types: [created] | |
| pull_request_review_comment: | |
| types: [created] | |
| issues: | |
| types: [opened, assigned, labeled] | |
| pull_request_review: | |
| types: [submitted] | |
| jobs: | |
| claude-response: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| id-token: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 20 | |
| ref: ${{ github.sha }} | |
| - uses: anthropics/claude-code-action@v1 | |
| env: | |
| ANTHROPIC_BASE_URL: https://tokenhub.tencentmaas.com | |
| ANTHROPIC_MODEL: deepseek-v4-flash | |
| ANTHROPIC_SMALL_FAST_MODEL: deepseek-v4-flash | |
| with: | |
| anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| bot_name: "CubeBot" | |
| # Optional: add custom trigger phrase (default: @claude) | |
| trigger_phrase: "/cubebot" |