chore: keep the permission prompt for merging PRs
This commit is contained in:
1 parent
088cb5add1
commit
7acf83e68d
2 files changed
+3
-2
No files matched your search
@@ -7,8 +7,8 @@
|
||||
#
|
||||
# Scope: used for PRs only (list, open, check CI status, merge after your OK).
|
||||
# Technically it can call any endpoint; CLAUDE.md limits its use to PRs.
|
||||
# In .claude/settings.json, GET runs without a prompt; POST, PATCH, PUT and
|
||||
# DELETE (anything that changes something) always ask first.
|
||||
# In .claude/settings.json, GET and POST (e.g. opening a PR) run without a
|
||||
# prompt. Merging a PR (POST .../merge), PATCH, PUT and DELETE always ask first.
|
||||
#
|
||||
# Usage: gitea.sh METHOD PATH [BODY]
|
||||
# METHOD GET | POST | PATCH | PUT | DELETE
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
"Bash(ssh *)",
|
||||
"Bash(scp *)",
|
||||
"Bash(curl *)",
|
||||
"Bash(.claude/scripts/gitea.sh POST */merge*)",
|
||||
"Bash(.claude/scripts/gitea.sh PATCH *)",
|
||||
"Bash(.claude/scripts/gitea.sh PUT *)",
|
||||
"Bash(.claude/scripts/gitea.sh DELETE *)"
|
||||
|
||||
Reference in new issue
Block a user