Skip to content

chore: switch release workflow to release-please - #143

Merged
JamieSinn merged 1 commit into
mainfrom
chore/release-please
Nov 16, 2026
Merged

JamieSinn merged 1 commit into
mainfrom
chore/release-please

Conversation

@jonathannorris

Copy link
Copy Markdown
Member

Summary

  • Replace DevCycleHQ/release-action and the expired AUTOMATION_USER_TOKEN in .github/workflows/release.yml with googleapis/release-please-action running on GITHUB_TOKEN. It opens a release PR on pushes to main instead of pushing a version commit directly.
  • Add release-please-config.json and .release-please-manifest.json (seeded at 2.2.2). The version is bumped in lib/Version.php via an x-release-please-version marker and in composer.json via a JSON updater on $.version.
  • No publish job: Packagist picks up the new vX.Y.Z tag from its GitHub webhook, same as before.

Related Issues

Same setup as DevCycleHQ/android-client-sdk#339

@jonathannorris
jonathannorris marked this pull request as ready for review November 16, 2026 20:50
@jonathannorris
jonathannorris requested a review from a team as a code owner November 16, 2026 20:50
Copilot AI balanced review requested due to automatic review settings November 16, 2026 20:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the release-please migration.

No open issues 🎉

What changed in this PR

Migrates release automation to release-please, using GITHUB_TOKEN to open release PRs instead of pushing version commits directly. Packagist remains responsible for picking up release tags through its existing webhook.

Changes:

  • Replaces the previous release actions with release-please on pushes to main and manual dispatch.
  • Configures version updates in lib/Version.php and composer.json.
  • Seeds release tracking at version 2.2.2.
File Description
release-please-config.json Configures release tags and version-file updates.
lib/​Version.php Adds the release-please version marker without changing the version.
.release-please-manifest.json Initializes release tracking at 2.2.2.
.github/​workflows/​release.yml Switches to release-please with scoped permissions, concurrency control, and release notices.

Review effort: Balanced

@JamieSinn
JamieSinn merged commit d5d06cb into main Nov 16, 2026
5 of 6 checks passed
@JamieSinn
JamieSinn deleted the chore/release-please branch November 16, 2026 20:59
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.

4 participants