Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Dec 12, 2025

Automated release PR.

Calen Varek added 5 commits December 11, 2025 22:10
* Add PullRequestCreationError to src/errors.ts with targeted recovery instructions (existing PR, no commits between branches, validation errors) and generic guidance
* Update createPullRequest in src/github.ts: extend signature with options { reuseExisting?: boolean }, remove pre-flight existing-PR check, wrap pulls.create in try/catch, on HTTP 422 attempt to reuse an existing PR for the same base or throw PullRequestCreationError with line-by-line logged instructions
* Export PullRequestCreationError and PullRequestCheckError from src/index.ts
* Add test scaffolds for error handling in tests/createPullRequest.test.ts and tests/errors.test.ts
* Adjust tests in tests/github.test.ts to remove pulls.list mocks and relax 422 expectations to rejects.toThrow(), reflecting the new error flow
* Update "version" field in package.json from "0.1.11-dev.0" to "0.1.11"
* Remove "version": "0.1.12-dev.0" from package.json
* Remove "version": "0.1.12" from package.json
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@ghost ghost merged commit 46811a6 into main Dec 12, 2025
5 checks passed
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant