@tarcisiopgs/lisa 1.13.1 → 1.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -150,14 +150,14 @@ Lisa delivers pull requests and merge requests to **4 platforms**:
|
|
|
150
150
|
| GitLab | `gitlab` | `GITLAB_TOKEN` | Merge Request |
|
|
151
151
|
| Bitbucket | `bitbucket` | `BITBUCKET_TOKEN` + `BITBUCKET_USERNAME` | Pull Request |
|
|
152
152
|
|
|
153
|
-
Set `
|
|
153
|
+
Set `platform` in your config (or pass `--platform` at runtime) to select the delivery method:
|
|
154
154
|
|
|
155
155
|
```yaml
|
|
156
|
-
|
|
156
|
+
platform: gitlab # or: cli, token, bitbucket
|
|
157
157
|
```
|
|
158
158
|
|
|
159
159
|
```bash
|
|
160
|
-
lisa run --
|
|
160
|
+
lisa run --platform bitbucket # override at runtime
|
|
161
161
|
```
|
|
162
162
|
|
|
163
163
|
Each platform appends a `🤖 Resolved by lisa` attribution comment to the PR/MR after creation.
|
|
@@ -174,9 +174,9 @@ npm install -g @tarcisiopgs/lisa
|
|
|
174
174
|
|
|
175
175
|
```bash
|
|
176
176
|
# PR/MR delivery — set one based on your platform
|
|
177
|
-
export GITHUB_TOKEN="" # GitHub — or have `gh` CLI authenticated (
|
|
178
|
-
export GITLAB_TOKEN="" # GitLab MR creation (
|
|
179
|
-
export BITBUCKET_TOKEN="" # Bitbucket PR creation (
|
|
177
|
+
export GITHUB_TOKEN="" # GitHub — or have `gh` CLI authenticated (platform: cli or token)
|
|
178
|
+
export GITLAB_TOKEN="" # GitLab MR creation (platform: gitlab)
|
|
179
|
+
export BITBUCKET_TOKEN="" # Bitbucket PR creation (platform: bitbucket)
|
|
180
180
|
export BITBUCKET_USERNAME="" # Bitbucket username (required with BITBUCKET_TOKEN)
|
|
181
181
|
|
|
182
182
|
# Required when source = linear
|
|
@@ -226,7 +226,7 @@ export LISA_NO_TELEMETRY=1 # disable reporting (overrides LISA_TELEMETRY and
|
|
|
226
226
|
| `lisa run --provider NAME` | Override AI provider |
|
|
227
227
|
| `lisa run --source NAME` | Override issue source |
|
|
228
228
|
| `lisa run --label NAME` | Override label filter |
|
|
229
|
-
| `lisa run --
|
|
229
|
+
| `lisa run --platform METHOD` | Override PR platform (`cli`, `token`, `gitlab`, or `bitbucket`) |
|
|
230
230
|
| `lisa run --no-bell` | Disable terminal bell on issue completion/failure |
|
|
231
231
|
| `lisa init` | Create `.lisa/config.yaml` interactively (offers pre-defined templates) |
|
|
232
232
|
| `lisa config` | Edit config interactively |
|
|
@@ -289,7 +289,7 @@ source_config:
|
|
|
289
289
|
in_progress: In Progress
|
|
290
290
|
done: In Review
|
|
291
291
|
|
|
292
|
-
|
|
292
|
+
platform: cli # "cli" (gh), "token" (GITHUB_TOKEN), "gitlab" (GITLAB_TOKEN), or "bitbucket" (BITBUCKET_TOKEN)
|
|
293
293
|
workspace: .
|
|
294
294
|
base_branch: main
|
|
295
295
|
|
|
@@ -463,7 +463,7 @@ validation:
|
|
|
463
463
|
require_acceptance_criteria: false
|
|
464
464
|
```
|
|
465
465
|
|
|
466
|
-
> **Note:**
|
|
466
|
+
> **Note:** For Linear, Lisa auto-creates the `needs-spec` label if it does not exist. For other trackers, the label must exist before Lisa can apply it — Lisa will log a warning if it is missing.
|
|
467
467
|
|
|
468
468
|
### Infrastructure Auto-Discovery
|
|
469
469
|
|