Add agent-experience-eval npm package and GitHub Action #2
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 Experience Evaluation | |
| on: | |
| schedule: | |
| - cron: '0 6 * * 1' # Weekly, Monday 6am UTC | |
| pull_request: # TODO: Remove after initial testing | |
| paths: | |
| - 'projects/github-actions/agent-experience-eval/**' | |
| - '.github/workflows/agent-experience-eval.yml' | |
| - 'tools/score-agent-experience.sh' | |
| push: | |
| paths: | |
| - 'CLAUDE.md' | |
| - '**/CLAUDE.md' | |
| - 'AGENTS.md' | |
| - '**/AGENTS.md' | |
| - '.claude/**' | |
| - '**/.claude/**' | |
| - '.cursorrules' | |
| - '**/.cursorrules' | |
| - '.cursor/**' | |
| - '**/.cursor/**' | |
| - '.windsurfrules' | |
| - '.aider.conf.yml' | |
| - '.codeiumrc' | |
| - '.github/copilot-instructions.md' | |
| - '.codex/**' | |
| workflow_dispatch: {} | |
| jobs: | |
| evaluate: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Claude Code | |
| run: npm install -g @anthropic-ai/claude-code | |
| - name: Evaluate Agent Experience | |
| uses: ./projects/github-actions/agent-experience-eval | |
| with: | |
| anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} | |
| - name: Upload evaluation artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: agent-experience-eval | |
| path: agent-experience-eval.json | |
| retention-days: 30 |