Skip to content

Create scheduled release PR workflow - #1044

Closed
lawrencecchen wants to merge 1 commit into
mainfrom
codex/add-github-action-for-release-pr
Closed

Create scheduled release PR workflow#1044
lawrencecchen wants to merge 1 commit into
mainfrom
codex/add-github-action-for-release-pr

Conversation

@lawrencecchen

Copy link
Copy Markdown
Collaborator

Summary

  • replace the daily release workflow with a scheduled job that bumps the client version and opens a draft release PR instead of pushing directly to main
  • run the release preparation twice daily at 4:30 AM and 7:00 PM PST, keeping version bumps aligned with the latest tag

Testing

  • not run (workflow change only)

Codex Task

@vercel

vercel Bot commented Nov 25, 2025

Copy link
Copy Markdown
Contributor

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

Project Deployment Preview Comments Updated (UTC)
cmux-client Ready Ready Preview Comment Nov 25, 2025 3:59am
cmux-www Ready Ready Preview Comment Nov 25, 2025 3:59am

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +124 to +128
- name: Commit version bump
if: steps.release_changes.outputs.proceed == 'true'
run: |
git add apps/client/package.json
git commit -m "chore: release v${{ steps.version.outputs.next_version }}"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Avoid pre-committing version bump before create-pull-request

When changes are detected, the workflow commits the bumped apps/client/package.json itself (git commit in the preceding step) and then calls peter-evans/create-pull-request. That action only opens a PR when there are uncommitted workspace changes; if the working tree is already clean it logs “no changes” and exits without creating or updating a PR. Because the version bump is pre-committed, every run will hit the clean-tree path and the scheduled release PR will never be opened despite the version change. Let the action create the commit instead of doing it manually.

Useful? React with 👍 / 👎.

karlorz added a commit to karl-digi/manaflow that referenced this pull request Apr 12, 2026
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: karlorz <142769090+karlorz@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant