hq-jr 0.1.0 → 0.1.1
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 +15 -0
- package/app.yml +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -3
package/README.md
CHANGED
|
@@ -202,6 +202,21 @@ hq-jr/
|
|
|
202
202
|
|
|
203
203
|
---
|
|
204
204
|
|
|
205
|
+
## Release automation
|
|
206
|
+
|
|
207
|
+
Pushes to `master` / `main` run `.github/workflows/release.yml` when the commit message does not contain `[skip release]`:
|
|
208
|
+
|
|
209
|
+
1. Lint, test, and build
|
|
210
|
+
2. Bump the patch version in `package.json`
|
|
211
|
+
3. Publish to npm as `hq-jr`
|
|
212
|
+
4. Push the version commit and tag
|
|
213
|
+
5. Build and push `ghcr.io/adi-il/hq-jr` (version + `latest`)
|
|
214
|
+
6. Create a GitHub Release with the Docker image tarball attached
|
|
215
|
+
|
|
216
|
+
Required secret: `NPM_TOKEN` (Automation token on npmjs.com).
|
|
217
|
+
|
|
218
|
+
CI-only commits should include `[skip release]` in the message (the workflow adds this on its own version bumps).
|
|
219
|
+
|
|
205
220
|
## License
|
|
206
221
|
|
|
207
222
|
Apache-2.0
|
package/app.yml
CHANGED
|
@@ -3,7 +3,7 @@ url: https://github.com/adi-IL/hq-jr
|
|
|
3
3
|
hook_attributes:
|
|
4
4
|
url: https://smee.io/your_smee_channel_id
|
|
5
5
|
description: Self-hosted GitHub App that reviews PRs with Vertex AI, remembers past findings, and can reproduce bugs in a sandbox before it speaks.
|
|
6
|
-
public:
|
|
6
|
+
public: true
|
|
7
7
|
default_permissions:
|
|
8
8
|
checks: write
|
|
9
9
|
pull_requests: write
|
package/dist/index.js
CHANGED
|
@@ -532,7 +532,7 @@ ${contextPackage.promptPayload}
|
|
|
532
532
|
owner,
|
|
533
533
|
repo: repoName,
|
|
534
534
|
issue_number: pullNumber,
|
|
535
|
-
body: `🤖 **hq-jr** received review command from @${user.login}. Starting automated code review with High Thinking
|
|
535
|
+
body: `🤖 **hq-jr** received review command from @${user.login}. Starting automated code review with High Thinking - line-by-line diff comments will appear directly under **Files changed**...`,
|
|
536
536
|
});
|
|
537
537
|
const prResponse = await context.octokit.pulls.get({
|
|
538
538
|
owner,
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hq-jr",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Self-hosted GitHub App that reviews PRs with Vertex AI, remembers past findings, and can reproduce bugs in a sandbox before it speaks.",
|
|
5
5
|
"homepage": "https://github.com/adi-IL/hq-jr",
|
|
6
|
-
"repository":
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/adi-IL/hq-jr.git"
|
|
9
|
+
},
|
|
7
10
|
"main": "dist/index.js",
|
|
8
11
|
"bin": {
|
|
9
12
|
"hq-jr": "dist/cli.js"
|
|
@@ -57,5 +60,8 @@
|
|
|
57
60
|
"LICENSE",
|
|
58
61
|
"app.yml",
|
|
59
62
|
".env.example"
|
|
60
|
-
]
|
|
63
|
+
],
|
|
64
|
+
"publishConfig": {
|
|
65
|
+
"access": "public"
|
|
66
|
+
}
|
|
61
67
|
}
|