From b4a574a2ccce4d6f394c264d0df7d3053dd192cd Mon Sep 17 00:00:00 2001 From: Erica Pisani Date: Thu, 19 Feb 2026 10:54:13 -0500 Subject: [PATCH] chore(github): add warden configuration Adds warden code reviews to our Github workflows. --- .github/workflows/warden.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/warden.yml diff --git a/.github/workflows/warden.yml b/.github/workflows/warden.yml new file mode 100644 index 0000000000..f2ff05325a --- /dev/null +++ b/.github/workflows/warden.yml @@ -0,0 +1,24 @@ +name: Warden + +on: + pull_request: + types: [opened, synchronize, reopened] + +# 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 + env: + WARDEN_MODEL: ${{ secrets.WARDEN_MODEL }} + WARDEN_SENTRY_DSN: ${{ secrets.WARDEN_SENTRY_DSN }} + steps: + - uses: actions/checkout@v4 + - uses: getsentry/warden@v0 + with: + anthropic-api-key: ${{ secrets.WARDEN_ANTHROPIC_API_KEY }}