Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
140 changes: 0 additions & 140 deletions .github/workflows/eval-baseline.yml

This file was deleted.

152 changes: 0 additions & 152 deletions .github/workflows/eval-pr.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/eval.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Skill Evals

on:
pull_request:
paths:
- 'plugins/sdlc-workflow/skills/**/*.md'
- 'evals/**/evals.json'
Comment on lines +4 to +7
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (bug_risk): Workflow will not have access to secrets.GCP_SA_KEY or pull-requests: write permissions for PRs from forks, likely breaking evals for external contributions.

For PRs from forks, this job won’t be able to use GCP_SA_KEY or pull-requests: write, so evals will fail or be skipped for external contributors.

To support forked PRs, consider either:

  • Using pull_request_target only for the secret/commenting step, with a hardened checkout (e.g., ref: ${{ github.event.pull_request.head.sha }} and restricted paths), or
  • Splitting into two jobs: one running evals on pull_request without secrets, and a pull_request_target job that just posts results using secrets.

Otherwise, external contributors will have a worse experience than maintainers’ branches.

push:
branches: [main]
paths:
- 'plugins/sdlc-workflow/skills/**/*.md'
- 'evals/**/evals.json'

jobs:
eval:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: google-github-actions/auth@v3
with:
credentials_json: ${{ secrets.GCP_SA_KEY }}

- uses: mrizzi/skill-litmus@v0.1.5
env:
CLAUDE_CODE_USE_VERTEX: "1"
CLOUD_ML_REGION: ${{ secrets.GCP_CLOUD_ML_REGION }}
ANTHROPIC_DEFAULT_SONNET_MODEL: "claude-sonnet-4-6"
ANTHROPIC_DEFAULT_OPUS_MODEL: "claude-opus-4-6"
ANTHROPIC_MODEL: "claude-opus-4-6"
Loading
Loading