-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcaller.yml
More file actions
36 lines (32 loc) · 1.15 KB
/
caller.yml
File metadata and controls
36 lines (32 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Example: thin caller workflow for a project repo
#
# Copy this file into your project's .github/workflows/ directory and customize:
# 1. Customize with: review_focus to describe your project's specific review areas. Not required
# 2. Set with: checkout_mode=base for safer fork reviews (no fork code on runner)
name: Claude Code
# GITHUB_TOKEN needs contents:read and actions:read — required by
# claude-code-action for restoring trusted config files from the base branch.
# All other GitHub API access uses the App token.
permissions:
contents: read
actions: read
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
pull_request_target:
types: [opened, reopened]
jobs:
claude:
uses: synadia-io/ai-workflows/.github/workflows/claude.yml@v2
with:
gh_app_id: ${{ vars.CLAUDE_GH_APP_ID }}
checkout_mode: base
review_focus: |
Additionally focus on:
- Your project-specific review area 1
- Your project-specific review area 2
secrets:
claude_oauth_token: ${{ secrets.CLAUDE_OAUTH_TOKEN }}
gh_app_private_key: ${{ secrets.CLAUDE_GH_APP_PRIVATE_KEY }}