fix: configure release-please with PAT and correct component mapping#349
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s Release Please setup to use a fine-grained PAT for PR creation, align Release Please tagging/component behavior with existing vX.Y.Z tags, and make the driver version constant machine-updatable by Release Please.
Changes:
- Update Release Please config/manifest to use a blank component and exclude the component from tags; bump manifest version to
1.9.8. - Pin
googleapis/release-please-actionto a specific commit SHA and switch authentication tosecrets.RELEASE_PLEASE_TOKEN; set workflow default permissions to none with per-job overrides. - Add
x-release-please-versionmarker toversion.goand add PAT setup/rotation documentation.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
version.go |
Adds x-release-please-version marker so Release Please can update the driver version constant. |
release-please-config.json |
Adjusts component/tag configuration and ensures version.go is updated as an extra file. |
.release-please-manifest.json |
Updates the manifest version from 1.9.6 to 1.9.8. |
.github/workflows/release-please.yml |
Pins the action by SHA, uses a PAT secret, and tightens workflow permissions defaults. |
.github/RELEASE_PLEASE_SETUP.md |
Documents creation, scoping, and rotation of the fine-grained PAT secret. |
- Fix component mismatch: add empty component to match existing v* tags - Update manifest version to 1.9.8 to match latest release tag - Use fine-grained PAT (RELEASE_PLEASE_TOKEN) for PR creation - SHA-pin release-please-action to v4.4.0 - Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 for Node.js 20 deprecation - Set least-privilege permissions at workflow level - Handle version strings with or without v prefix in getDriverVersion
5f8e88c to
dc161b1
Compare
shueybubbles
reviewed
Apr 9, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #349 +/- ##
===========================================
+ Coverage 79.86% 96.61% +16.74%
===========================================
Files 34 89 +55
Lines 6646 74062 +67416
===========================================
+ Hits 5308 71553 +66245
- Misses 1065 2172 +1107
- Partials 273 337 +64
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
shueybubbles
approved these changes
Apr 10, 2026
AbbasLB
pushed a commit
to AbbasLB/go-mssqldb
that referenced
this pull request
Apr 10, 2026
…icrosoft#349) - Fix component mismatch: add empty component to match existing v* tags - Update manifest version to 1.9.8 to match latest release tag - Use fine-grained PAT (RELEASE_PLEASE_TOKEN) for PR creation - SHA-pin release-please-action to v4.4.0 - Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 for Node.js 20 deprecation - Set least-privilege permissions at workflow level - Handle version strings with or without v prefix in getDriverVersion
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.
Uh oh!
There was an error while loading. Please reload this page.