Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃洜 Tooling: Automatically make a PR to update to latest LearningTypeScript/projects commits #33

Open
3 tasks done
JoshuaKGoldberg opened this issue Jun 2, 2022 · 2 comments

Comments

@JoshuaKGoldberg
Copy link
Collaborator

JoshuaKGoldberg commented Jun 2, 2022

Tooling Report Checklist

  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my request.
  • 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
@fuadop
Copy link
Contributor

fuadop commented 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
Copy link
Collaborator Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants