Skip to content

fix: upgrade release-please-action v3 → v4 (Node 24 compatibility) - #1322

Merged
davidacevedo merged 1 commit into
masterfrom
upgrade-release-please-action-v4
Jun 17, 2026
Merged

fix: upgrade release-please-action v3 → v4 (Node 24 compatibility)#1322
davidacevedo merged 1 commit into
masterfrom
upgrade-release-please-action-v4

Conversation

@davidacevedo

Copy link
Copy Markdown
Collaborator

Summary

Upgrades release-please-action from @v3 to @v4 in both release workflows to fix the failing release-please job on master.

Root cause

The release-please job has been failing at release creation with:

✔ Creating 1 releases for pull #1318
##[error]release-please failed: Resource not accessible by integration

This is not a token-permissions issue — the runtime log confirms the GITHUB_TOKEN is granted Contents: write (and write on issues/pull-requests/etc.). The actual cause is the Node runtime:

Apr 24 (8.19.3) ✅ Jun 17 (8.19.4) ❌
Action release-please-action@v3 (SHA db8f2c60) same SHA
Token Contents: write Contents: write
Node ran on Node 20 forced to Node 24

GitHub's Node 20 EOL took effect 2026-06-02, force-running the deprecated v3 action on Node 24. v3's bundled octokit/fetch stack breaks on Node 24 and surfaces as a misleading Resource not accessible by integration. The last good release ran the same action SHA on Node 20.

Fix

Bump to @v4 (Node 24-compatible) in both release-please.yml and release-please-pr.yml. v4 keeps the same simple inputs (release-type/package-name/command), matching the working appfolio/browser-reporter setup — so this is a one-line-per-file change with no config migration.

Impact

Once merged, the release-please job should successfully tag v8.19.4 off the already-merged release PR #1318, flip its autorelease: pending label to tagged, and unblock the release cycle (which is currently wedged — no new release PRs open while #1318 is untagged).

Notes

The deprecated release-please-action@v3 is now force-run on Node 24
(GitHub's Node 20 EOL took effect 2026-06-02), which breaks its bundled
octokit and surfaces as a misleading "Resource not accessible by
integration" error when creating the GitHub release. The token has
contents:write — the failure is the action, not permissions.

The last successful release (8.19.3, 2026-04-24) ran the same action SHA
on Node 20. v4 is Node 24-compatible and keeps the same simple inputs
(release-type/package-name/command), matching appfolio/browser-reporter.

Bump both release-please.yml and release-please-pr.yml.
@davidacevedo
davidacevedo merged commit aaaf88a into master Jun 17, 2026
4 of 5 checks passed
@davidacevedo
davidacevedo deleted the upgrade-release-please-action-v4 branch June 17, 2026 22:15
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