32 lines
1.1 KiB
JSON
32 lines
1.1 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(dir:*)",
|
|
"Bash(go mod tidy:*)",
|
|
"Bash(cat:*)",
|
|
"Bash(go build:*)",
|
|
"Bash(go test:*)",
|
|
"Bash(go tool cover:*)",
|
|
"Bash(wsl -e bash -c \"docker --version && docker-compose --version\")",
|
|
"Bash(wsl -e bash -c:*)",
|
|
"Bash(timeout 180 bash -c 'while true; do status=$(wsl -e bash -c \"\"which docker 2>/dev/null\"\"); if [ -n \"\"$status\"\" ]; then echo \"\"Docker installed\"\"; break; fi; sleep 5; done')",
|
|
"Bash(docker --version:*)",
|
|
"Bash(powershell -c:*)",
|
|
"Bash(go version:*)",
|
|
"Bash(set TEST_DATABASE_URL=postgres://mpc_user:mpc_password@localhost:5433/mpc_system_test?sslmode=disable:*)",
|
|
"Bash(Select-String -Pattern \"PASS|FAIL|RUN\")",
|
|
"Bash(Select-Object -Last 30)",
|
|
"Bash(Select-String -Pattern \"grpc_handler.go\")",
|
|
"Bash(Select-Object -First 10)",
|
|
"Bash(git add:*)",
|
|
"Bash(git commit:*)",
|
|
"Bash(where:*)",
|
|
"Bash(go get:*)",
|
|
"Bash(findstr:*)",
|
|
"Bash(git push)"
|
|
],
|
|
"deny": [],
|
|
"ask": []
|
|
}
|
|
}
|