Let git ls-remote reach Gitea from the sandbox
Run git ls-remote unsandboxed so SSH works, and ask before each use like the other network git commands. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
371a6af0b4
commit
e5e43efafa
1 file changed
+4
-2
@@ -22,7 +22,8 @@
|
||||
"ask": [
|
||||
"Bash(git push:*)",
|
||||
"Bash(git fetch:*)",
|
||||
"Bash(git pull:*)"
|
||||
"Bash(git pull:*)",
|
||||
"Bash(git ls-remote:*)"
|
||||
]
|
||||
},
|
||||
"sandbox": {
|
||||
@@ -60,7 +61,8 @@
|
||||
"git push:*",
|
||||
"git fetch:*",
|
||||
"git pull:*",
|
||||
"git commit:*"
|
||||
"git commit:*",
|
||||
"git ls-remote:*"
|
||||
]
|
||||
},
|
||||
"hooks": {
|
||||
|
||||
Reference in new issue
Block a user