From 4d6af13134556d2eb77bd85afdd8761975a401c2 Mon Sep 17 00:00:00 2001 From: cinco euzebio Date: Sat, 28 Feb 2026 22:20:42 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20adicionar=20drone-ci-mc?= =?UTF-8?q?p=20e=20corrigir=20formato=20do=20hook=20PostToolUse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/settings.json | 10 +++++++--- .mcp.json | 10 ++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.claude/settings.json b/.claude/settings.json index a79651b..71c7954 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -3,9 +3,13 @@ "PostToolUse": [ { "matcher": "Write|Edit", - "type": "command", - "command": "bash -c 'if [ -f Cargo.toml ]; then if command -v cargo-nextest >/dev/null 2>&1; then cargo nextest run 2>&1; else cargo test 2>&1; fi; fi'", - "timeout": 120 + "hooks": [ + { + "type": "command", + "command": "bash -c 'if [ -f Cargo.toml ]; then if command -v cargo-nextest >/dev/null 2>&1; then cargo nextest run 2>&1; else cargo test 2>&1; fi; fi'", + "timeout": 120 + } + ] } ] } diff --git a/.mcp.json b/.mcp.json index 279cd4d..e565e5e 100644 --- a/.mcp.json +++ b/.mcp.json @@ -9,6 +9,16 @@ "type": "stdio", "command": "crates-mcp", "args": [] + }, + "drone-ci-mcp": { + "command": "npx", + "args": [ + "-y", + "drone-ci-mcp", + "--access-token=${DRONE_TOKEN}", + "--server-url=https://drone.cincoeuzebio.com" + ] } } } +