Skip to content

ci: add Claude Code PR review and security review - #4

Merged
predge-ai merged 1 commit into
mainfrom
ci/claude-code-review
Oct 4, 2026
Merged

predge-ai merged 1 commit into
mainfrom
ci/claude-code-review

Conversation

@predge-ai

Copy link
Copy Markdown
Member

Adds Claude Code automation as GitHub Actions. Only new workflow files; no code changes.

.github/workflows/claude.yml (anthropics/claude-code-action v1.0.241, pinned by SHA)

  • @claude in issue / PR comments, review comments, reviews and new issues runs Claude (only users with write access can trigger it; enforced by the action).
  • Automatic review on PR opened / synchronize / reopened / ready_for_review (non-draft, same-repo branches only).
  • Auth: CLAUDE_CODE_OAUTH_TOKEN secret (Claude subscription, from claude setup-token). Requires the Claude GitHub App: https://github.com/apps/claude

.github/workflows/claude-security-review.yml (anthropics/claude-code-security-review, pinned by SHA; the repo has no release tags)

  • Security review of the PR diff, posts findings as PR comments.
  • Auth: ANTHROPIC_API_KEY secret. This action does not support the OAuth token.

Safety

  • pull_request only, never pull_request_target; fork PRs are skipped (and get no secrets anyway).
  • permissions: {} at the top, minimal per-job permissions.
  • If a secret is missing, the job prints a notice and skips its steps instead of failing.

@predge-ai
predge-ai merged commit 0732573 into main Oct 4, 2026
3 checks passed
@predge-ai
predge-ai deleted the ci/claude-code-review branch October 4, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant