feat: add create-pr command (#3)
This commit was merged in pull request #3.
This commit is contained in:
@@ -43,6 +43,21 @@ Create a new git repository on git.hangman-lab.top.
|
||||
|
||||
> **Note**: The repository will be created at `${AGENT_WORKSPACE}/${repo-name}` (default: `/root/.openclaw/workspace/workspace-mentor`)
|
||||
|
||||
### Pull Request Operations
|
||||
|
||||
Manage pull requests on git.hangman-lab.top.
|
||||
|
||||
```bash
|
||||
{baseDir}/scripts/git-ctrl pr create <repo-local-path> <head-branch> <base-branch> [pr-title] [pr-body]
|
||||
{baseDir}/scripts/git-ctrl pr list <repo-local-path>
|
||||
{baseDir}/scripts/git-ctrl pr commits <repo-local-path> <pr-index>
|
||||
{baseDir}/scripts/git-ctrl pr merge <repo-local-path> <pr-index> <do> [commit-id] [title] [message]
|
||||
```
|
||||
|
||||
> **Note**: The access token will be automatically generated if not found.
|
||||
|
||||
> **`<do>`** can be: `merge`, `squash`, `rebase`, `manually-merged`
|
||||
|
||||
### Link Keycloak Account
|
||||
|
||||
Link Keycloak account with Gitea (for OAuth binding).
|
||||
|
||||
Reference in New Issue
Block a user