GitHub Action
Glitch Merge to Main
v1.1
Latest version
Merge your work as you export from the glitch editor to your main branch on GitHub automatically.
- Import the code in action.yml into your repository's Actions->Workflows, give it any name.
- Remove the properties mentioned on the comments.
- Connect your repo to Glitch and import it to its workspace.
- Perform your edits as usual.
- Export! your code will be merged and comments will be transferred to your main branch.
If you want to use this with any other branch(es), just edit the head and base variables.
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
I have thoroughly tested this action, but if you have any suggestions, please open an issue!
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.