Skip to content

Commit 1fcb45a

Browse files
authored
Update excluded paths in .fortlsrc (#1248)
* Update excluded paths in .fortlsrc Removed excluded paths from .fortlsrc configuration. * Modify code review workflow for better output Updated prompt format for code review action and added option to show full output. * Add allowed tools argument for Claude code review Added claude_args to specify allowed tools for the code review. * Refactor Claude Code Review action configuration Updated Claude Code Review action parameters and removed deprecated settings. * Add settings.json to configure project settings * Update claude-code-review.yml * Update settings.json to modify allowedTools format * Update settings.json * Update exclusion paths in .fortlsrc Added new exclusion paths to .fortlsrc configuration. * Update .fortlsrc
1 parent b310c43 commit 1fcb45a

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.claude/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"allowedTools": ["Bash(*)"]
3+
}

.github/workflows/claude-code-review.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,17 @@ jobs:
2828
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
2929
github_token: ${{ github.token }}
3030

31+
show_full_output: true
32+
3133
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
3234
plugins: 'code-review@claude-code-plugins'
33-
prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'
35+
36+
claude_args: |
37+
--allowedTools "Bash(*)"
38+
39+
prompt: |
40+
/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}
41+
Post the results as one top-level PR comment titled "Claude Code Review".
42+
3443
additional_permissions: |
3544
actions: read

0 commit comments

Comments
 (0)