-
-
Notifications
You must be signed in to change notification settings - Fork 294
29 lines (25 loc) · 823 Bytes
/
Copy pathwarden.yml
File metadata and controls
29 lines (25 loc) · 823 Bytes
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
name: Warden
on:
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
# contents: write required for resolving review threads via GraphQL
# See: https://github.com/orgs/community/discussions/44650
permissions:
contents: write
pull-requests: write
checks: write
jobs:
review:
runs-on: ubuntu-latest
timeout-minutes: 20
env:
WARDEN_MODEL: ${{ secrets.WARDEN_MODEL }}
WARDEN_SENTRY_DSN: ${{ secrets.WARDEN_SENTRY_DSN }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: getsentry/warden@2130c979dec0163048d954d9599504e2d9fa2b07
with:
anthropic-api-key: ${{ secrets.WARDEN_ANTHROPIC_API_KEY }}