ci: add Claude Code project configuration

This commit is contained in:
tiennm99 committed 2026-04-03 23:03:43 +07:00
1 parent 41dd014b75
commit 339d779540
1 file changed
+88
+88
View File
@@ -0,0 +1,88 @@
{
"permissions": {
"allow": [
"Read",
"Edit",
"Bash(git status *)",
"Bash(git diff *)",
"Bash(git log *)",
"Bash(git branch *)",
"Bash(git checkout *)",
"Bash(git add *)",
"Bash(git commit *)",
"Bash(git stash *)",
"Bash(git merge *)",
"Bash(git rebase *)",
"Bash(git fetch *)",
"Bash(git pull *)",
"Bash(git show *)",
"Bash(git blame *)",
"Bash(ls *)",
"Bash(cat *)",
"Bash(find *)",
"Bash(grep *)",
"Bash(rg *)",
"Bash(head *)",
"Bash(tail *)",
"Bash(wc *)",
"Bash(sort *)",
"Bash(uniq *)",
"Bash(diff *)",
"Bash(echo *)",
"Bash(pwd)",
"Bash(which *)",
"Bash(mkdir *)",
"Bash(cp *)",
"Bash(mv *)",
"Bash(touch *)",
"Bash(cd *)",
"Bash(npm run *)",
"Bash(npm test *)",
"Bash(npm install *)",
"Bash(npx *)",
"Bash(yarn *)",
"Bash(pnpm *)",
"Bash(gradle *)",
"Bash(./gradlew *)",
"Bash(go build *)",
"Bash(go test *)",
"Bash(go run *)",
"Bash(go mod *)",
"Bash(cargo *)",
"Bash(make *)",
"Bash(python *)",
"Bash(pip *)",
"Bash(node *)",
"Bash(java *)",
"Bash(javac *)",
"Bash(sed *)",
"Bash(awk *)",
"Bash(jq *)",
"Bash(tree *)",
"Bash(date *)",
"Bash(env *)",
"Bash(printenv *)",
"Bash(realpath *)",
"Bash(dirname *)",
"Bash(basename *)",
"Bash(stat *)",
"Bash(file *)",
"Bash(xargs *)",
"Bash(tee *)"
],
"deny": [
"Bash(git push --force *)",
"Bash(git push -f *)",
"Bash(git push * --force *)",
"Bash(git push * -f *)",
"Bash(rm -rf /)",
"Bash(rm -rf /*)",
"Bash(rm -rf ~)",
"Bash(rm -rf ~/*)",
"Bash(curl * | bash *)",
"Bash(curl * | sh *)",
"Bash(wget * | bash *)",
"Bash(wget * | sh *)"
]
}
}