Skip to content

[*] Bug Fix: Fix post-release workflow by enabling branch creation - #8320

Closed
etrepum wants to merge 1 commit into
mainfrom
claude/fix-post-release-workflow-H86HD
Closed

etrepum wants to merge 1 commit into
mainfrom
claude/fix-post-release-workflow-H86HD

Conversation

@etrepum

@etrepum etrepum commented Apr 9, 2026 •

Copy link
Copy Markdown
Collaborator

Description

The post-release workflow creates a branch to update all of the examples after a release, it was failing because it couldn't create the branch.

Test plan

Before

fatal: invalid reference: post-release-v0.43.0
Error: Invalid status code: 128
    at ChildProcess.<anonymous> (/home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v7/index.js:17:19)
    at ChildProcess.emit (node:events:508:28)
    at maybeClose (node:internal/child_process:1100:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
  code: 128
}
Error: Invalid status code: 128
    at ChildProcess.<anonymous> (/home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v7/index.js:17:19)
    at ChildProcess.emit (node:events:508:28)
    at maybeClose (node:internal/child_process:1100:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)

After

Should be able to run it and verify that it succeeds and creates the branch:
https://github.com/facebook/lexical/actions/runs/24207609533/job/70667537819

The stefanzweifel/git-auto-commit-action was failing because
create_branch defaults to false, and the post-release branch
(e.g. post-release-v0.43.0) doesn't exist yet when the workflow runs.

https://claude.ai/code/session_01W2hg94D8RsRMk3WWHc5ZoT
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 9, 2026
@vercel

vercel Bot commented Apr 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lexical Ready Ready Preview, Comment Apr 9, 2026 6:52pm
lexical-playground Ready Ready Preview, Comment Apr 9, 2026 6:52pm

Request Review

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — 6547ba1a Deployed Apr 9, 2026 by vercel[bot]
Preview – lexical — 6547ba1a Deployed Apr 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants