Skip to content

Add optional CodeMirror bundle bump pull requests - #37

Open
alexandrecuer wants to merge 5 commits into
mainfrom
feat/codemirror-bundle-bump-pr
Open

alexandrecuer wants to merge 5 commits into
mainfrom
feat/codemirror-bundle-bump-pr

Conversation

@alexandrecuer

Copy link
Copy Markdown
Contributor

Summary

  • Add the boolean produce_pr_to_bump_lib workflow-dispatch input (default: false).
  • When enabled, copy the generated bundle into vendor/codemirror/ and update the import in lib/modules/components/geometry-editor.js.
  • Push the changes to a dedicated automation branch and create a pull request with the GitHub CLI (gh pr create).
  • Reuse the same automation branch for repeated builds of the same bundle, updating its existing pull request when one is already open.
  • Keep the artifact upload unchanged and retain previous vendor bundles.

The generated bump pull request is intentionally left open for manual review and merging.

Permissions

The build job requests contents: write and pull-requests: write. Repository Actions settings must also allow workflows to create pull requests with GITHUB_TOKEN.

This branch has not been deployed

No deployments
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.

1 participant