Skip to content

Commit f03db3f

Browse files
committed
ci: pin Ladon reviewer action
1 parent 0ba1811 commit f03db3f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ai-review.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
with:
3535
ref: ${{ github.event.pull_request.base.sha }}
3636
fetch-depth: 0
37+
persist-credentials: false
3738

3839
- name: Mint App token (for the workflow-mod gate comment)
3940
id: app-token
@@ -91,9 +92,9 @@ jobs:
9192
9293
- name: Run Ladon
9394
if: steps.workflow-mod.outputs.modified != 'true'
94-
# Floating v1 is intentional: Ladon is the centrally maintained AdCP
95-
# reviewer, and consuming current v1 fixes is the purpose of this migration.
96-
uses: adcontextprotocol/actions/ladon/review@ladon/review/v1 # zizmor: ignore[unpinned-uses]
95+
# Pin the shared reviewer because this step receives the Secretariat
96+
# private key and Anthropic API key. Update from ladon/review/v1 deliberately.
97+
uses: adcontextprotocol/actions/ladon/review@2b4b3aa89fee5c91ccfc1ba9fc93a6bea3907d44 # ladon/review/v1
9798
with:
9899
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
99100
app-id: ${{ secrets.SECRETARIAT_APP_ID }}

0 commit comments

Comments
 (0)