Add render_commentaire_body helper using .html_safe #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: Claude Code Security Review | ||
| on: | ||
| pull_request: | ||
| branches: [main] | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| jobs: | ||
| security-review: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| <<<<<<< HEAD | ||
| with: | ||
| ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
| fetch-depth: 2 | ||
| - uses: anthropics/claude-code-security-review@main | ||
| with: | ||
| claude-api-key: ${{ secrets.CLAUDE_API_KEY }} | ||
| ======= | ||
| - uses: anthropics/claude-code-action@v1 | ||
| with: | ||
| anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} | ||
| prompt: "Review this PR for security vulnerabilities only. Focus on XSS, IDOR, authorization bypass, mass assignment, and injection flaws." | ||
| >>>>>>> 7f6a3c29c0 (Add claude-code-security-review workflow) | ||