Skip to content

[*] Chore: Add a post-release action to update the examples#7744

Merged
etrepum merged 1 commit intomainfrom
post-release-action
Aug 7, 2025
Merged

[*] Chore: Add a post-release action to update the examples#7744
etrepum merged 1 commit intomainfrom
post-release-action

Conversation

@etrepum
Copy link
Copy Markdown
Collaborator

@etrepum etrepum commented Aug 7, 2025

Description

Per #7743 the package-lock files are not updated for examples when a release is published. This is a bit tricky because we can't update them until after the release happens, so it needs to be in a separate PR.

This updated workflow will automatically create a branch after a release is published with updated package-lock files. Like with updating a version, creating the associated PR is a manual process (github won't run actions for an automated PR unless it is using a personal access token).

Test plan

There isn't a lot we can do to test actions like this without releasing them. In order to run it we first need to merge it to the default branch (main). Once the file is in place on main we can iterate on it from a branch if any issues arise.

  • Run it directly with workflow_dispatch to make sure it behaves as expected
  • Make sure it still behaves as expected (when called with workflow_call via pre-release) the next time a release is published

https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#onworkflow_dispatch

@vercel
Copy link
Copy Markdown

vercel bot commented Aug 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2025 4:58pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2025 4:58pm

@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 Aug 7, 2025
@etrepum etrepum added this pull request to the merge queue Aug 7, 2025
Merged via the queue into main with commit 0ba6f92 Aug 7, 2025
39 of 40 checks passed
@etrepum etrepum mentioned this pull request Aug 7, 2025
@etrepum etrepum deleted the post-release-action branch September 25, 2025 03:30
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