Skip to content

Commit f08ab01

Browse files
authored
chore(github): add warden configuration (#5484)
### Description Adds warden code reviews to our Github workflows.
1 parent aaf5c47 commit f08ab01

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/warden.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Warden
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
# contents: write required for resolving review threads via GraphQL
8+
# See: https://github.com/orgs/community/discussions/44650
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
checks: write
13+
14+
jobs:
15+
review:
16+
runs-on: ubuntu-latest
17+
env:
18+
WARDEN_MODEL: ${{ secrets.WARDEN_MODEL }}
19+
WARDEN_SENTRY_DSN: ${{ secrets.WARDEN_SENTRY_DSN }}
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: getsentry/warden@v0
23+
with:
24+
anthropic-api-key: ${{ secrets.WARDEN_ANTHROPIC_API_KEY }}

0 commit comments

Comments
 (0)