You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
馃洜 Tooling: Automatically make a PR to update to latest LearningTypeScript/projects commits聽#33
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.
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?
Activity
fuadop commentedon Jun 3, 2022
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 ?
JoshuaKGoldberg commentedon Jun 3, 2022
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?