32 lines
1.6 KiB
JSON
32 lines
1.6 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(pip install:*)",
|
|
"Bash(python -c ':*)",
|
|
"Bash(git add:*)",
|
|
"Bash(git reset:*)",
|
|
"Bash(git commit -m ':*)",
|
|
"Bash(python init_db.py)",
|
|
"Bash(python run.py)",
|
|
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:5000/auth/login)",
|
|
"Bash(pkill -f \"python run.py\")",
|
|
"Bash(docker --version)",
|
|
"Bash(git -C /d/3.Project/HTY1024/ai-app-database remote -v)",
|
|
"Bash(git -C /d/3.Project/HTY1024/ai-app-database log --oneline)",
|
|
"Bash(curl -s --max-time 6 https://git.hty1024.com/api/v1/version)",
|
|
"Bash(git -C /d/3.Project/HTY1024/ai-app-database add .gitea/)",
|
|
"Bash(git -C /d/3.Project/HTY1024/ai-app-database commit -m ':*)",
|
|
"WebFetch(domain:gitea.com)",
|
|
"Bash(curl -s \"https://gitea.com/gitea/gitea/raw/branch/main/routers/api/v1/repo/action.go\")",
|
|
"Bash(curl -s \"https://gitea.com/gitea/gitea/raw/branch/main/services/actions/variables.go\")",
|
|
"Bash(curl -s \"https://gitea.com/gitea/gitea/raw/branch/main/routers/web/repo/actions/view.go\")",
|
|
"WebFetch(domain:docs.gitea.com)",
|
|
"Bash(git -C /d/3.Project/HTY1024/ai-app-database add .gitea/workflows/)",
|
|
"Bash(git -C /d/3.Project/HTY1024/ai-app-database commit -m 'fix\\(ci\\): 将 Secret 名从 GITEA_TOKEN 改为 REGISTRY_TOKEN:*)",
|
|
"Bash(git -C /d/3.Project/HTY1024/ai-app-database log --oneline -3)",
|
|
"Bash(git -C /d/3.Project/HTY1024/ai-app-database add scripts/ .gitattributes)",
|
|
"Bash(git -C /d/3.Project/HTY1024/ai-app-database log --oneline -4)"
|
|
]
|
|
}
|
|
}
|