Skip to content
git-merge

GitHub Action

Glitch Merge to Main

v1.1 Latest version

Glitch Merge to Main

git-merge

Glitch Merge to Main

Edit your files on Glitch, and this action will merge all your changes to your main branch as soon as you export your project

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Glitch Merge to Main

uses: leozusa/[email protected]

Learn more about this action in leozusa/Glitch-Merge-To-Main

Choose a version

Version Remix on Glitch

Glitch-Merge-To-Main

Merge your work as you export from the glitch editor to your main branch on GitHub automatically.

How to use

  1. Import the code in action.yml into your repository's Actions->Workflows, give it any name.
  2. Remove the properties mentioned on the comments.
  3. Connect your repo to Glitch and import it to its workspace.
  4. Perform your edits as usual.
  5. Export! your code will be merged and comments will be transferred to your main branch.

How to Customize

If you want to use this with any other branch(es), just edit the head and base variables.

Future steps

I'll try to make a bidirectional version that also updates the Glitch copy, but for now just importing the latest code from Github seems to be enough

Questions?

I have thoroughly tested this action, but if you have any suggestions, please open an issue!

Disclaimer

I have no relation with Glitch.com (I'm only an enthusiastic user!) This repository is not endorsed by Glitch and does not use any of their public API endpoints.