mirror of
https://github.com/getsentry/skills.git
synced 2026-09-14 20:00:03 +08:00
599e462104
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
31 lines
812 B
YAML
31 lines
812 B
YAML
name: Warden
|
|
|
|
# contents: write required for resolving review threads via GraphQL
|
|
# See: https://github.com/orgs/community/discussions/44650
|
|
permissions:
|
|
contents: write
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
review:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
WARDEN_ANTHROPIC_API_KEY: ${{ secrets.WARDEN_ANTHROPIC_API_KEY }}
|
|
WARDEN_MODEL: ${{ secrets.WARDEN_MODEL }}
|
|
WARDEN_SENTRY_DSN: ${{ secrets.WARDEN_SENTRY_DSN }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/create-github-app-token@v1
|
|
id: app-token
|
|
with:
|
|
app-id: ${{ secrets.WARDEN_APP_ID }}
|
|
private-key: ${{ secrets.WARDEN_PRIVATE_KEY }}
|
|
|
|
- uses: getsentry/warden@v0
|
|
with:
|
|
github-token: ${{ steps.app-token.outputs.token }}
|