🛠Tooling: Automatically make a PR to update to latest LearningTypeScript/projects commits
Tooling Report Checklist
- [X] I have pulled the latest
mainbranch of the repository. - [X] I have searched for related issues and found none that matched my request.
- [X] This is the appropriate issue form for the tooling issue I would like to report.
Expected
Every time a new commit is pushed to main on https://github.com/LearningTypeScript/projects, it'd be nice for a pull request to be made automatically on this repo to update the src/content/external Git submodule to it. Surely there's some GitHub Action somewhere that can do it.
Actual
Nothing is set up right now.
Additional Info
See DEVELOPMENT.md:
Updating Git Submodules
git submodule foreach git pull
Hey @JoshuaKGoldberg , I did quite some research on this.. but most actions I am seeing are the reverse of this 😅 . They're to update the parent repository on any update made on this submodule.. Also I think this github action would be on the projects repository instead.. We can implement it over there.. the CI would be trigggered by a push to master and we then clone this repo from the CI and use the actions/github-script action to create a pull request to this repo. similar to this - https://github.com/releasehub-com/github-action-create-pr-parent-submodule/blob/main/action.yml . How ever we might need a dummy account of some sort. I thikn.
What do you think about it ? or Do you have something in mind ?
Hmm, that makes sense. To be honest this is a pretty low priority task (it's easy for me to do with a few quick commands locally). So if it's going to involve setting up dummy accounts, etc. -- maybe not worth it just yet?