chore(agents): Add security-review skill to agent configuration #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |