feat(git-hangman-lab): add create-pr command

- Add create-pr script for creating pull requests via API
- Auto-generate access token if not present
- Integrate into git-ctrl dispatcher
- Update SKILL.md with new command documentation
This commit is contained in:
lyn
2026-04-01 14:50:02 +00:00
parent d8dee3b062
commit fa77b054a5
3 changed files with 109 additions and 0 deletions

View File

@@ -43,6 +43,16 @@ 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`)
### Create Pull Request
Create a pull request on git.hangman-lab.top.
```bash
{baseDir}/scripts/git-ctrl create-pr <repo-local-path> <head-branch> <base-branch> [pr-title] [pr-body]
```
> **Note**: The access token will be automatically generated if not found.
### Link Keycloak Account
Link Keycloak account with Gitea (for OAuth binding).