Repository navigation
57 lines (53 loc) · 1.64 KB
/
Copy pathaxis-conformance.yml
File metadata and controls
57 lines (53 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Cursor axis (conformance)
# The conformance axis of cursor-approve: a thin wrapper over cursor-axis-base.yml
# with a full read-only checkout of the PR head. Declares ONLY CURSOR_API_KEY
# and the opt-in ANTHROPIC_API_KEY —
# an axis never sees another axis's credentials (a test enforces this).
# Run it only after a cursor-review round passed; see
# docs/callers/cursor-approve.md for the caller.
#
# Inputs (passed through): commit_sha, model, runs_on, prior_rounds,
# axis_direct_model (opt-in: run on the Anthropic API directly instead of
# Cursor; see cursor-axis-base.yml).
# Secrets: CURSOR_API_KEY; ANTHROPIC_API_KEY, needed only with axis_direct_model.
on:
workflow_call:
inputs:
commit_sha:
type: string
required: true
model:
type: string
default: claude-opus-5-5-xhigh
runs_on:
type: string
default: '"ubuntu-latest"'
prior_rounds:
type: number
default: 0
axis_direct_model:
type: string
default: ''
secrets:
CURSOR_API_KEY:
required: true
ANTHROPIC_API_KEY:
required: false
permissions:
contents: read
jobs:
conformance:
uses: ./.github/workflows/cursor-axis-base.yml
permissions:
contents: read
with:
axis: conformance
checkout: true
commit_sha: ${{ inputs.commit_sha }}
model: ${{ inputs.model }}
runs_on: ${{ inputs.runs_on }}
prior_rounds: ${{ inputs.prior_rounds }}
axis_direct_model: ${{ inputs.axis_direct_model }}
secrets:
CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}