Skip to content

ci: migrate release-please to googleapis/release-please-action v5 - #125

Merged
marcelometal merged 1 commit into
masterfrom
marcelometal/release-please-v4
Oct 27, 2026
Merged

marcelometal merged 1 commit into
masterfrom
marcelometal/release-please-v4

Conversation

@marcelometal

@marcelometal marcelometal commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

google-github-actions/release-please-action was archived in August 2024, and its v3 declares the node16 runtime, which the runner flags as Node 20 and now forces onto Node 24. The workflow also ran one release-please instance per package through a matrix built from the Dockerfile list: seven runs on every push to master and no single place that describes the packages. This PR moves to googleapis/release-please-action@v5 in manifest mode: release-please-config.json lists the seven packages with their components and separate-pull-requests: true, which keeps the tag format (thumbor-plugins-<name>-v<version>, checked against the current tags) and one release PR per package. A separate publish job builds and uploads only the released paths, the release job gets the issues: write permission the v5 README asks for, and AGENTS.md says a new package is registered in the manifest config, not by its Dockerfile.

The six release PRs the old action opened in 2024 (#105 to #110) use the same branch names the new action generates, so it should update them rather than open duplicates; please check that after the first run on master and close the old ones if it did not. The action takes its token from a RELEASE_PLEASE_TOKEN secret when one exists and falls back to GITHUB_TOKEN; release PRs opened with GITHUB_TOKEN never trigger the test workflow, so set that secret to a fine-grained PAT or GitHub App token if release PRs should run CI. PyPI publishing still uses the stored PYPI_API_TOKEN; switching to trusted publishing is a separate PR on top of this one.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 98.995% (+2.1%) from 96.916% — marcelometal/release-please-v4 into master

@marcelometal
marcelometal force-pushed the marcelometal/release-please-v4 branch from faa1fb7 to f3ad361 Compare October 27, 2026 17:09
google-github-actions/release-please-action was archived in August 2024 and its
v3 declares the node16 runtime, which the runner flags as Node 20 and now
forces onto Node 24. The workflow also ran one release-please instance per
package through a matrix built from the Dockerfile list, which means seven runs
on every push to master and no single place that describes the packages.

The manifest config now lists the seven packages with their components, so one
googleapis/release-please-action@v5 run handles all of them and keeps the
existing tag format (thumbor-plugins-<name>-v<version>) and one release PR per
package. A separate publish job builds and uploads only the paths that were
actually released, and the release job gets the issues: write permission the v5
README asks for. The six release PRs the old action opened in 2024 use the
branch names the new action uses too, so it should update them rather than open
duplicates; check that after the first run. The action reads its token from the
RELEASE_PLEASE_TOKEN secret when one exists and falls back to GITHUB_TOKEN,
whose release PRs never trigger the test workflow. PyPI publishing still uses
the stored API token; trusted publishing is a separate change.
@marcelometal
marcelometal force-pushed the marcelometal/release-please-v4 branch from f3ad361 to 837a91c Compare October 27, 2026 23:21
@marcelometal
marcelometal merged commit be57fde into master Oct 27, 2026
8 checks passed
@marcelometal
marcelometal deleted the marcelometal/release-please-v4 branch October 27, 2026 23:24
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