From fdb2e27ca8451a797c410b4d943080070364c766 Mon Sep 17 00:00:00 2001 From: LoveJesus Date: Mon, 12 Jan 2026 11:19:34 +0000 Subject: [PATCH] Add Bash to allowed tools and --yes flag --- .gitea/workflows/edit-chirho.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/edit-chirho.yaml b/.gitea/workflows/edit-chirho.yaml index ef281c8..0fa3fef 100644 --- a/.gitea/workflows/edit-chirho.yaml +++ b/.gitea/workflows/edit-chirho.yaml @@ -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