Skip to content

chore: update release please pipeline to support release immutability#488

Open
erka wants to merge 2 commits into
open-feature:mainfrom
erka:rd/release-please-update
Open

chore: update release please pipeline to support release immutability#488
erka wants to merge 2 commits into
open-feature:mainfrom
erka:rd/release-please-update

Conversation

@erka
Copy link
Copy Markdown
Member

@erka erka commented Apr 13, 2026

This PR

Updates release-please-action to v4.4.1, introducing support for forced Git tag creation.

With this change, a draft release would be created as part of the release-please-action step. GoReleaser then picks up that draft, upload the necessary build artifacts, and complete the release process. This allows to enable GitHub release immutability.

  • Add explicit contents: write, pull-requests: write, and issues: write permissions
  • Enable force-tag-creation: true to precreate git release tag
  • Enable use_existing_draft: true in goreleaser to reuse draft release
    created by release-please action
  • Add signoff for commit attribution compliance

Related Issues

#457

@erka erka requested review from a team as code owners April 13, 2026 18:24
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.12%. Comparing base (42d65a5) to head (30a7afc).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #488      +/-   ##
==========================================
+ Coverage   84.02%   84.12%   +0.09%     
==========================================
  Files          27       27              
  Lines        2085     2085              
==========================================
+ Hits         1752     1754       +2     
+ Misses        293      292       -1     
+ Partials       40       39       -1     
Flag Coverage Δ
e2e 84.12% <ø> (+0.09%) ⬆️
unit 84.12% <ø> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the release configuration by adding a schema and draft settings to release-please-config.json and configuring GoReleaser to use existing drafts. The review feedback identifies a schema violation where the signoff property should be a boolean rather than a string, and recommends using the github_release section in .goreleaser.yaml to align with GoReleaser v2 deprecations.

Comment thread release-please-config.json
Comment thread .goreleaser.yaml
@erka erka requested review from toddbaert April 13, 2026 19:00
erka added 2 commits May 14, 2026 12:01
Updates release-please-action to v4.4.1, introducing support for forced Git tag creation.

With this change, a draft release would be created as part of the release-please-action step. GoReleaser then picks up that draft, upload the necessary build artifacts, and complete the release process. This allows to enable GitHub release immutability.
<!-- add the description of the PR here -->

- Add explicit contents: write, pull-requests: write, and issues: write permissions
- Enable `force-tag-creation: true` to precreate git release tag
- Enable `use_existing_draft: true` in goreleaser to reuse draft release
  created by release-please action
- Add signoff for commit attribution compliance

Signed-off-by: Roman Dmytrenko <rdmytrenko@gmail.com>
Signed-off-by: Roman Dmytrenko <rdmytrenko@gmail.com>
@erka erka force-pushed the rd/release-please-update branch from 02b664d to 30a7afc Compare May 14, 2026 11:01
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.

2 participants