π GitHub template to provide a pre-designed architecture for all types of projects.
The purpose of this project is to provide a template for creating projects on GitHub. We use a bunch of tech to build the template, including Commitizen, CommitLint, Husky, BunJS and GitHub Actions.
To start using the project, you can use the template directly.
Then, follow this step-by-step guide to use our framework.
# Installing dependencies
gfavreau@DESKTOP-LHPH7R7:~/github-template$ bun i
Add any file to your new project
# Add files to the commit
gfavreau@DESKTOP-LHPH7R7:~/github-template$ git add .
# Use CommitLint and Commitizen
gfavreau@DESKTOP-LHPH7R7:~/github-template$ bun git-cz
Well done! You've written a great commit using our first utility, and you can now send it to GitHub.
Now, we're going to take a look at GitHub Actions. In order to use our workflows, we're going to create GitHub apps.
Next, please refer to this documentation for creating the GitHub Apps needed for the workflows.
# Compress Img Bots
secrets.ID_COMPRESSIMGBOT
secrets.PEM_COMPRESSIMGBOT
# Create Labels Bots
secrets.ID_CREATELABELBOT
secrets.PEM_CREATELABELBOT
# Create GitLeaks Bots
secrets.ID_GITLEAKSBOT
secrets.PEM_GITLEAKSBOT
.
βββ .github/
β βββ .husky/ # Husky scripts
β βββ assets/ # Project assets
β βββ config/ # Configuration des flux de travail
β βββ ISSUE_TEMPLATE/ # GitHub issue templates
β βββ workflows/ # GitHub Actions
βββ LICENSES/ # Project licences
βββ .commitlintrc.js # Configuring commitlint
βββ .editorconfig # Editor configuration
βββ .gitconfig # Configuring Git