create_subscription
Create a repository subscription to track a git or HTTP repository. Configure type, schedule, branch, and filters for automated updates.
Instructions
Create a repository subscription. Required: url (git/http repo URL). type defaults to public-repo, schedule_type defaults to cron.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Repository URL, e.g. https://github.com/user/repo.git (required) | |
| name | No | Subscription name | |
| type | No | Subscription type, e.g. public-repo / private-repo | |
| alias | No | Alias | |
| branch | No | Git branch | |
| schedule | No | Cron expression when schedule_type=cron | |
| blacklist | No | Blacklist patterns | |
| whitelist | No | Whitelist patterns | |
| autoAddCron | No | Auto add scripts as cron tasks | |
| autoDelCron | No | Auto remove cron tasks when script removed | |
| schedule_type | No | Schedule type: cron (default) or interval |