Skip to content

Commit e2d24d2

Browse files
authored
chore: Reduce cost (#40)
I realized based on the github summary that these runs were actually quite expensive (30 bucks per day). I wanna try reducing the cost a bit.
1 parent 11ed06b commit e2d24d2

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/agent-automation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Agent Automation
22

33
on:
44
schedule:
5-
- cron: "0 6 * * 1-5"
5+
- cron: "0 6 * * 3"
66
workflow_dispatch:
77

88
permissions:
@@ -160,7 +160,7 @@ jobs:
160160
- Do not create pull requests.
161161
- If there are no high-confidence non-duplicate gaps, do nothing.
162162
claude_args: |
163-
--model claude-opus-4-6
164-
--max-turns 100
163+
--model claude-sonnet-4-6
164+
--max-turns 60
165165
--allowedTools "Read,Glob,Grep,LS,WebSearch,WebFetch,mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__search_issues,mcp__github__list_issues,mcp__github__create_issue"
166166
--disallowedTools "Bash,Edit,MultiEdit,Write,Replace,NotebookEditCell,mcp__github__create_issue_comment,mcp__github__update_issue,mcp__github__create_pr,mcp__github__create_or_update_file,mcp__github__delete_file,mcp__github_file_ops__commit_files,mcp__github_file_ops__delete_files"

.github/workflows/braintrust-security-audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Braintrust Security Audit
22

33
on:
44
schedule:
5-
- cron: "0 7 * * *"
5+
- cron: "0 7 * * 2"
66
workflow_dispatch:
77

88
permissions: {}
@@ -150,6 +150,6 @@ jobs:
150150
- If there are no high-confidence non-duplicate vulnerabilities, do nothing.
151151
claude_args: |
152152
--model claude-opus-4-6
153-
--max-turns 250
153+
--max-turns 125
154154
--allowedTools "Read,Glob,Grep,LS,WebSearch,WebFetch,mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__search_issues,mcp__github__list_issues,mcp__github__create_issue"
155155
--disallowedTools "Bash,Edit,MultiEdit,Write,Replace,NotebookEditCell,mcp__github__create_issue_comment,mcp__github__update_issue,mcp__github__create_pr,mcp__github__create_or_update_file,mcp__github__delete_file,mcp__github_file_ops__commit_files,mcp__github_file_ops__delete_files"

.github/workflows/issue-revalidation-audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190
- Prefer local repo evidence plus official docs/releases over inference.
191191
- If there are no high-confidence actions, do nothing.
192192
claude_args: |
193-
--model claude-opus-4-6
194-
--max-turns 120
193+
--model claude-sonnet-4-6
194+
--max-turns 60
195195
--allowedTools "Read,Glob,Grep,LS,WebSearch,WebFetch,mcp__github__list_issues,mcp__github__search_issues,mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__create_issue_comment,mcp__github__update_issue"
196196
--disallowedTools "Bash,Edit,MultiEdit,Write,Replace,NotebookEditCell,mcp__github__create_issue,mcp__github__create_pr,mcp__github__create_or_update_file,mcp__github__delete_file,mcp__github_file_ops__commit_files,mcp__github_file_ops__delete_files"

.github/workflows/library-gap-audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jobs:
161161
- Do not create pull requests.
162162
- If there are no high-confidence non-duplicate gaps, do nothing.
163163
claude_args: |
164-
--model claude-opus-4-6
165-
--max-turns 200
164+
--model claude-sonnet-4-6
165+
--max-turns 100
166166
--allowedTools "Read,Glob,Grep,LS,WebSearch,WebFetch,mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__search_issues,mcp__github__list_issues,mcp__github__create_issue"
167167
--disallowedTools "Bash,Edit,MultiEdit,Write,Replace,NotebookEditCell,mcp__github__create_issue_comment,mcp__github__update_issue,mcp__github__create_pr,mcp__github__create_or_update_file,mcp__github__delete_file,mcp__github_file_ops__commit_files,mcp__github_file_ops__delete_files"

0 commit comments

Comments
 (0)