mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-08-22 03:18:54 +08:00
Remove redundant git status/diff/log from tag mode allowlist (#1075)
This commit is contained in:
@@ -56,9 +56,6 @@ export function buildAllowedToolsString(
|
||||
"Bash(git add:*)",
|
||||
"Bash(git commit:*)",
|
||||
`Bash(${GIT_PUSH_WRAPPER}:*)`,
|
||||
"Bash(git status:*)",
|
||||
"Bash(git diff:*)",
|
||||
"Bash(git log:*)",
|
||||
"Bash(git rm:*)",
|
||||
);
|
||||
}
|
||||
|
||||
@@ -139,9 +139,6 @@ export async function prepareTagMode({
|
||||
"Bash(git add:*)",
|
||||
"Bash(git commit:*)",
|
||||
`Bash(${gitPushWrapper}:*)`,
|
||||
"Bash(git status:*)",
|
||||
"Bash(git diff:*)",
|
||||
"Bash(git log:*)",
|
||||
"Bash(git rm:*)",
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user