Skip to content

Test issue

Test issue #15

Workflow file for this run

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
--max-turns 10
--allowedTools "Read,Write,Glob,Grep,Bash(gh issue *),Bash(gh label *)"
--disallowedTools "Edit,MultiEdit"
prompt: |
You are running on CI (GitHub Actions).
Triage issue #${{ github.event.issue.number }}.
Title: ${{ github.event.issue.title }}
Read the skill file at .claude/skills/triage-issue/SKILL.md and follow its instructions.
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