Add @semantic-release/git to release pipeline#75
Merged
Conversation
Copilot
AI
changed the title
[WIP] Add @semantic-release/git package
Add May 26, 2026
@semantic-release/git to release pipeline
Coverage Report for CI Build 26445628873Coverage remained the same at 100.0%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
There was a problem hiding this comment.
Pull request overview
This PR updates the project’s semantic-release configuration to include @semantic-release/git, enabling semantic-release to commit the release-updated package.json back to the repository during the release flow.
Changes:
- Define an explicit semantic-release
pluginspipeline inrelease.config.cjs. - Add and configure
@semantic-release/gitto commit updatedpackage.jsonwith a CI-skip commit message. - Add
@semantic-release/gitto dev dependencies and updatepnpm-lock.yamlaccordingly.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| release.config.cjs | Adds explicit semantic-release plugin list including @semantic-release/git and its commit settings. |
| package.json | Adds @semantic-release/git as a dev dependency. |
| pnpm-lock.yaml | Updates lockfile to include @semantic-release/git and transitive dependency changes. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
🎉 This PR is included in version 2.4.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates the release setup to include
@semantic-release/gitso semantic-release can commit versioned package metadata back to the repository as part of the publish flow.Release config
pluginslist inrelease.config.cjs@semantic-release/gitalongside the existing semantic-release stagespackage.jsonDependency update
@semantic-release/gitas a dev dependencypnpm-lock.yamlfor the new plugin and its transitive dependenciesRelease commit shape
Original prompt
add @semantic-release/git then
[Chronological Review: The conversation began with the user requesting to read a specific document and make changes to the codebase, including branching and modifying files. The user then encountered issues with tests and runtime errors, leading to discussions about skipped tests and size-limit warnings. The user also requested to check PR comments, resolve controversial comments, and interact with GitHub using the CLI. The conversation evolved to include adding badges, discussing scoring metrics, and making further modifications to the README and other documentation files. The most recent commands involved adding a badge to the README, fixing version badges, and adding a package for semantic release.][Intent Mapping: The user explicitly requested to read a document, branch from the main, make specific code changes, verify runtime behavior, run tests, open a PR, check test errors, and add badges. They also sought to understand scoring metrics and requested the addition of a code of conduct and contributing guidelines.]
[Technical Inventory: Technologies mentioned include Node.js, bun, deno, and various bundlers like Vite and webpack. The user also referenced tools like size-limit and semantic-release/git. The conversation involved discussions about JSON imports, module resolution, and handling errors in tests.]
[Code Archaeology: Key files discussed include
src/accentFolding.js,package.json, andREADME.md. The user made changes to the README to include badges and requested modifications to the package.json for semantic release.][Progress Assessment: The user has completed several tasks, including running tests and verifying runtime behavior. They are in the process of adding documentation and badges, with pending tasks related to creating a branch, committing changes, and opening a PR.]
[Context Validation: All critical information for continuation is captured, including the need to check the current file contents before making edits and the user's ongoing work with GitHub CLI and badge integration.]
[Recent Commands Analysis: The last agent commands executed included:
gh api repos/ZRktty/accent-folding/pulls/64/comments/3300377973/replies -X POST -f body="..."- This command was used to post a reply to a PR comment.gh api repos/ZRktty/accent-folding/pulls/64/comments/3300377986/replies -X POST -f body="..."- Another command to post a reply to a different PR comment.The immediate pre-summarization state involved the user actively working on adding badges and fixing versioning issues in the README, while also preparing to create a branch and commit changes.]
1. Conversation Overview: - Primary Objectives: The user requested to read a specific document, make code changes, verify runtime behavior, run tests, open a PR, check test errors, and add badges. They also sought to understand scoring metrics and requested the addition of a code of conduct and contributing guidelines. - Session Context: The conversation flowed from initial code modifications to discussions about test errors, badge integration, and documentation improvements. The user engaged with GitHub CLI for PR comments and modifications. - User Intent Evolution: The user's needs evolved from making code changes to enhancing project documentation and understanding project metrics.- Technical Foundation:
- Node.js: Version 18 and above for compatibility with certain features.
- bun: A JavaScript runtime used for testing.
- size-limit: A tool for checking bundle sizes.
- semantic-release/git: A package for automating versioning and package publishing.
- Codebase Status:
- Purpose: Core functionality for accent folding.
- Current State: Undergoing modifications for JSON import handling.
- Purpose: Project metadata and dependencies.
- Current State: Needs updates for semantic release integration.
- Purpose: Project documentation.
- Current State: Updates for badges and versioning.
- Problem Resolution:
- Issues Encountered: Test failures and runtime errors related to module imports.
- Solutions Implemented: Adjustments to code and documentation, including badge integration.
- Debugging Context: Ongoing troubleshooting of test errors and runtime behavior.
- Progress Tracking:
- Completed Tasks: Code modifications, test verifications, and badge additions.
- Partially Complete Work: Documentation updates and PR preparations.
- Validated Outcomes: Successful runtime tests with Node.js and bun.
- Active Work State:
- Current Focus: Adding badges to the README and fixing version badges.
- Recent Context: The user was actively working on integrating badges and preparing for a branch creation and commit.
- Working Code: Modifications to...
src/accentFolding.js:package.json:README.md:Created from VS Code.