Skip to content

Conversation

@j-mes
Copy link
Member

@j-mes j-mes commented Jan 9, 2026

Describe your changes

This PR upgrades Release Please from v3 to v4 and aligns our configuration with the v4 manifest-first model.

  • Upgraded GitHub Action from release-please-action@v3 to @v4.
  • Removed command: manifest from the workflow (manifest mode is the default in v4).
  • Added explicit GitHub Actions permissions required by v4 (contents, pull-requests, issues).
  • Migrated monorepo tagging behaviour from monorepo-tags: true to include-component-in-tag.
  • Added $schema and include-component-in-tag to release-please-config.json for v4 compatibility and validation.

Behavioural impact

  • No change to release semantics or versioning behaviour.
  • Tag format and per-package releases remain consistent with previous behaviour.
  • Release Please continues to operate in manifest mode for the Origami monorepo.

Notes

  • bootstrap-sha and last-release-sha are intentionally retained to avoid altering historical release behaviour.
  • The existing PAT-based token (ORIGAMI_GITHUB_TOKEN) is preserved to ensure CI workflows continue to run on Release Please PRs.
  • It seems to have moved from GoogleCloudPlatform to GoogleAPIs on GitHub Actions. Something to keep an eye on.

Migration guide / references

Additional context

JIRA ticket Figma design
OR-2083 N/A

Copilot AI review requested due to automatic review settings January 9, 2026 11:06
@j-mes j-mes requested a review from a team as a code owner January 9, 2026 11:06
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the Release Please GitHub Action from v3 to v4, adopting the new manifest-first configuration model while maintaining backward compatibility with existing release history.

  • Migrated from GoogleCloudPlatform/release-please-action@v3 to googleapis/release-please-action@v4
  • Added explicit GitHub Actions permissions for v4 compatibility
  • Updated monorepo configuration to use v4-compatible syntax

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
release-please-config.json Added v4 schema reference and migrated monorepo tagging configuration
.github/workflows/release-please.yml Upgraded action version, added permissions block, and replaced deprecated v3 syntax with v4 equivalents

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 2 to 3
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"include-component-in-tag": true,
Copy link
Member Author

Choose a reason for hiding this comment

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

We do need both of those lines in v4. I'm going to look at the config scripts to see why this is being removed by npm run regenerate and why it fails tests etc.

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