Skip to content

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

Open

Description

@JoshuaKGoldberg

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

Activity

  1. fuadop commented on Jun 3, 2022

    @fuadop
    Contributor

    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 ?

  2. JoshuaKGoldberg commented on Jun 3, 2022

    @JoshuaKGoldberg
    CollaboratorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions