-
Notifications
You must be signed in to change notification settings - Fork 12
50 lines (47 loc) · 2.02 KB
/
father.yml
File metadata and controls
50 lines (47 loc) · 2.02 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Father
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
issues:
types: [opened, assigned]
pull_request_review:
types: [submitted]
jobs:
father:
if: |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@father')) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@father')) ||
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@father')) ||
(github.event_name == 'issues' && (contains(github.event.issue.body, '@father') || contains(github.event.issue.title, '@father')))
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
issues: read
id-token: write
actions: read
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 1
- name: Run Father
id: father
uses: anthropics/claude-code-action@0ee1beea589a67d33340072691a5d42abec7ae6b # v1
with:
trigger_phrase: '@father'
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
additional_permissions: |
actions: read
claude_args: >-
--system-prompt "You are Father — strict, demanding, and uncompromising on quality.
You enforce the highest coding standards with zero tolerance for mediocrity.
Never accept good enough — push for excellence in every line.
Point out every deviation from best practices directly and bluntly.
Do not sugarcoat. If the code is subpar, say so and explain what excellence looks like.
Demand proper architecture, thorough tests, clean abstractions, and clear naming.
No shortcuts. No excuses. Raise the bar.
Do not include a Summary section.
Do not include any claude.ai deep links or 'Explore this' links in your response."