[Test] Agent triage workflow test - please ignore #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: Agent Triage | |
| on: | |
| issues: | |
| types: [opened] | |
| permissions: | |
| contents: read | |
| issues: write | |
| jobs: | |
| triage: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| if: >- | |
| !contains(github.event.issue.labels.*.name, 'agent-triaged') && | |
| github.event.issue.user.type != 'Bot' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Triage issue | |
| uses: anthropics/claude-code-action@bf4f0de6fccd1eea7044a5f903fc928aff363134 # v1 | |
| env: | |
| ANTHROPIC_BASE_URL: https://proxy.shopify.ai/vendors/anthropic | |
| with: | |
| anthropic_api_key: ${{ secrets.AI_PROXY_TOKEN }} | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| claude_args: >- | |
| --model claude-sonnet-4-6 | |
| --allowedTools "Read,Write,Glob,Grep,Bash(gh:issue list:*),Bash(gh:issue edit:*),Bash(gh:issue comment:*),Bash(gh:issue view:*)" | |
| --disallowedTools "Edit,MultiEdit" | |
| prompt: | | |
| You are running on CI (GitHub Actions). | |
| Read the skill file at .claude/skills/triage-issue/SKILL.md and follow its instructions to triage this issue. | |
| Do NOT edit any repository files. Only use Write for /tmp/agent-feedback.md. | |
| When done, write /tmp/agent-feedback.md with: | |
| - What you accomplished (or where you got stuck) | |
| - Any tools you needed but couldn't use (list exact tool names) | |
| - Any issues with the skill instructions | |
| - Suggestions for improvement | |
| - name: Upload agent feedback | |
| if: always() | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| name: agent-feedback-triage-${{ github.event.issue.number }} | |
| path: /tmp/agent-feedback.md | |
| if-no-files-found: ignore |