Add Bash to allowed tools and --yes flag
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
||||
git config user.email "claude-bot@perffection.com"
|
||||
git config user.name "Claude Bot"
|
||||
|
||||
cat << PROMPT_EOF | ~/.local/bin/claude -p --verbose --output-format stream-json --mcp-config ~/mcp-gitea-config-chirho.json --allowedTools "Read,Write,Edit,Glob,Grep,mcp__gitea-chirho__*"
|
||||
cat << PROMPT_EOF | ~/.local/bin/claude -p --verbose --output-format stream-json --mcp-config ~/mcp-gitea-config-chirho.json --allowedTools "Read,Write,Edit,Glob,Grep,Bash,mcp__gitea-chirho__*" --yes
|
||||
You are editing a customer website based on feedback.
|
||||
Issue number ${ISSUE_NUMBER}: ${ISSUE_TITLE}
|
||||
|
||||
@@ -41,6 +41,7 @@ jobs:
|
||||
4. If the latest owner message has already been addressed, do nothing
|
||||
|
||||
Working directory contains the site files. Make changes directly.
|
||||
DO NOT run git commands - the workflow will handle committing changes.
|
||||
PROMPT_EOF
|
||||
|
||||
- name: Commit and push changes
|
||||
|
||||
Reference in New Issue
Block a user