‘View Tests’ link for packages returns ‘Could not find a route that matched this request.’ #12
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: Wheels Bot — Triage | |
| on: | |
| issues: | |
| types: [opened, reopened] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: wheels-bot-triage-${{ github.event.issue.number }} | |
| cancel-in-progress: false | |
| jobs: | |
| triage: | |
| name: Triage issue | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| if: | | |
| vars.WHEELS_BOT_ENABLED == 'true' | |
| && github.event.issue.user.login != 'wheels-bot[bot]' | |
| env: | |
| WHEELS_CI: "true" | |
| steps: | |
| - name: Checkout develop | |
| uses: actions/checkout@v6 | |
| with: | |
| ref: develop | |
| fetch-depth: 1 | |
| - name: Generate App token | |
| id: app-token | |
| uses: actions/create-github-app-token@v2 | |
| with: | |
| app-id: ${{ secrets.WHEELS_BOT_APP_ID }} | |
| private-key: ${{ secrets.WHEELS_BOT_PRIVATE_KEY }} | |
| - name: Skip check | |
| id: gate | |
| uses: ./.github/actions/wheels-bot-skip-check | |
| with: | |
| target-type: issue | |
| target-number: ${{ github.event.issue.number }} | |
| marker-pattern: 'wheels-bot:triage:${{ github.event.issue.number }}|wheels-bot:triage-class:' | |
| github-token: ${{ steps.app-token.outputs.token }} | |
| - name: Run Triage | |
| if: steps.gate.outputs.skip == 'false' | |
| uses: anthropics/claude-code-action@v1 | |
| with: | |
| # Issues are typically opened by humans, but defensive: allow our App | |
| # bot and github-actions[bot] in case an upstream automation creates | |
| # an issue we want to triage. Specific allowlist (not '*') — public repo. | |
| allowed_bots: 'wheels-bot[bot],github-actions[bot]' | |
| anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} | |
| github_token: ${{ steps.app-token.outputs.token }} | |
| prompt: | | |
| /triage-issue ${{ github.event.issue.number }} | |
| claude_args: | | |
| --model claude-sonnet-4-6 | |
| --max-turns 200 | |
| --allowedTools "Bash(gh:*),Bash(git status),Bash(git log:*),Bash(git diff:*),Bash(git show:*),Bash(git grep:*),Read,Grep,Glob" |