Skip to content

krishnans2006/class-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

actions

GitHub Actions used to manage class repositories.

How it works

Issues to solve

Slow actions

Cloning the hub repository and every submodule takes a really long time (~1min), and will only get worse as more classes and materials are added.

Updating every submodule is also slow, but not nearly as slow as cloning.

Cloning and updating specific submodules would be ideal and should be further looked into.

Multiple class repository pushes

Since these actions take minutes to run, and since every submodule is updated, edge cases are abundant.

For example, if multiple class repositories are pushed to in a short period of time:

  • The first action will update both class repositories, despite being triggered by just one
  • The second action will fail, since no class repositories needed updating anymore

The exact error is:

On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
Error: Process completed with exit code 1.

About

GitHub Actions used to manage class repositories

Resources

Stars

Watchers

Forks