@sentry/junior-github 0.268.0 → 0.269.0
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 +2 -73
- package/SETUP.md +13 -258
- package/dist/{chunk-PQFFT2UO.js → chunk-DGGPIWTT.js} +12 -0
- package/dist/db/schema.d.ts +170 -0
- package/dist/index.js +450 -128
- package/dist/pull-request-outcomes/store.d.ts +36 -0
- package/dist/pull-request-requesters/store.d.ts +11 -4
- package/dist/testing.js +1 -1
- package/dist/tools/update-pull-request-feedback.d.ts +4 -3
- package/dist/webhooks/check-suite.d.ts +5 -0
- package/dist/webhooks/handler.d.ts +2 -1
- package/dist/webhooks/installation-requests.d.ts +29 -0
- package/dist/webhooks/pull-request-ready.d.ts +29 -0
- package/migrations/0010_sleepy_slayback.sql +5 -0
- package/migrations/meta/0010_snapshot.json +427 -0
- package/migrations/meta/_journal.json +8 -1
- package/package.json +2 -2
- package/skills/github-code/SKILL.md +1 -1
- package/skills/github-code/references/workflow.md +2 -3
|
@@ -38,15 +38,14 @@ Open this when making repository edits, not for read-only inspection.
|
|
|
38
38
|
- Run `gh pr view NUMBER --repo owner/repo --json mergeable,baseRefName`.
|
|
39
39
|
- `UNKNOWN`: GitHub is still calculating it. Wait about 5 seconds and check again, up to 3 times. If it stays `UNKNOWN`, report that and continue.
|
|
40
40
|
- `CONFLICTING`: resolve it now. Do not ask first. GitHub checks mergeability against the PR base (`baseRefName`), which is usually the default branch. Fetch the base and merge `origin/BASE` into the PR branch. Do not rebase. Resolve each conflict so that both the PR change and the base branch change stay intact. Run the checks again, push, and check mergeability again.
|
|
41
|
-
- In the report, name the files that had conflicts and say how you resolved them.
|
|
42
41
|
4. Resolve the actual default branch.
|
|
43
42
|
5. Update an existing PR for the branch with `github_updatePullRequest`, or create with `github_createPullRequest` (`draft: true` only when work, checks, or decisions remain; otherwise ready for review).
|
|
44
43
|
6. PR title matches the current dominant change, same conventional form as commits.
|
|
45
|
-
7. PR body: short, plain English, what changed and why. Only context the diff cannot show. No empty sections, file lists, commit logs, or Checks/Verification/Test plan blocks.
|
|
44
|
+
7. PR body: short, plain English, what changed and why. Only context the diff cannot show. No empty sections, file lists, commit logs, or Checks/Verification/Test plan blocks.
|
|
46
45
|
8. After material follow-up commits, refresh title and body against the current diff.
|
|
47
46
|
9. Never put customer data, PII, secrets, or sensitive thread context in public PR text.
|
|
48
47
|
10. If PR create/update is blocked, report the exact failure and leave the committed branch intact.
|
|
49
48
|
|
|
50
49
|
## Follow
|
|
51
50
|
|
|
52
|
-
When PR creation returns a subscribable hint, subscribe to suggested review/CI events.
|
|
51
|
+
When PR creation returns a subscribable hint, subscribe to suggested review/CI events. Fix routine review feedback and failed checks without a thread update. Reply only when the requester needs to act, or when the PR merges or closes.
|