Merge pull request 'fix: agent应该要会自学:自我修正阻拦automode的项 - Closes #106' (#107) from dev/issue-106-automode-config into main
CI / test (push) Successful in 19s
CI / test (push) Successful in 19s
This commit was merged in pull request #107.
This commit is contained in:
@@ -4,14 +4,19 @@
|
|||||||
"allow": [
|
"allow": [
|
||||||
"Bash(git *)",
|
"Bash(git *)",
|
||||||
"Bash(python scripts/agent_poller.py *)",
|
"Bash(python scripts/agent_poller.py *)",
|
||||||
|
"Bash(GITEA_USER=* python scripts/agent_poller.py *)",
|
||||||
"Bash(python scripts/run_pipeline.py *)",
|
"Bash(python scripts/run_pipeline.py *)",
|
||||||
"Bash(python scripts/create_failure_issue.py *)",
|
"Bash(python scripts/create_failure_issue.py *)",
|
||||||
"Bash(python -m pytest *)",
|
"Bash(python -m pytest *)",
|
||||||
"Bash(python -c *)",
|
"Bash(python -c *)",
|
||||||
"Bash(curl *)"
|
"Bash(curl *)"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"autoMode": {
|
||||||
|
"allow": [
|
||||||
|
"$defaults",
|
||||||
|
"Running agent_poller.py with GITEA_USER env var to interact with Gitea (comment, close-issue, create-pr, merge-pr, create-issue, reopen-issue)",
|
||||||
|
"Running Gitea API operations via scripts (agent_poller.py, create_failure_issue.py)"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user