Skip to content

djmaxus/matlab-repo-init

Repository files navigation

Template Repository for Open-Source MATLAB

CI View matlab-repo-init on File Exchange GitHub Tag GitHub Release Date License

Quickstart your public MATLAB repository. Batteries included πŸ”‹

logo

How to use

First, click Use this template to make your own repository from this template. Clone your new repository.

Then locally:

  1. Run init function for cleanup
  2. Upload your own MATLAB code
  3. Change anything else to you liking
  4. Commit changes appropriately along the way

Then, in Settings β€” Actions β€” General of your repository:

  1. Allow all actions and reusable workflows
  2. Allow GitHub Actions to create and approve pull requests

You can also import a pre-built ruleset to protect main branch from accidental unwanted hard-to-recover changes.
In Settings β€” Rules β€” Rulesets of your repository:

  1. Click New ruleset β€” Import a ruleset
  2. Upload .github/rules/main.json
  3. Modify if needed and save

Then push the local changes and carry on with the development of your freshly established public MATLAB project!

Please go to repository's Wiki (when it's ready) for more detailed user manual.

Do not hesitate to ask me for assistance and technical support.
And everyone is welcome to open issues to request a feature, enhance the documentation, or report a bug.

Features

References