This repository template contains the essential elements used in various projects to many stacks.
Many of the configuration files in this repository are not working yet. Just consist of a sample definition of the configuration. You may adapt these files depending on your objectives. You should pay attention to subsequent indications to know how you do it.
To use this template, click the button Use this template shown in the upper section on root of repository, then create a new repository.
Another way is initing the process of creating a new repository and selecting this template in the upper section.
This template contains many files. A lot of them require special attention.
/.github/workflows/codeql-analysis.yml
This file enables the CodeQL service provided by GitHub. You should provide a language supported. If your project is not supported, I recommend removing this yaml file.
/CODE_OF_CONDUCT.md
This code is based on the covenant code. He is only required to specify an email address to the community to send his messages. Now, this email is alderete.mauro@gmail.com.
/LICENSE
This license is a private personal license redacted by chatGPT. This is only an example. I recommend changing this license to other than to be attached better to your needs. You can replace it with any Open License offered by GitHub, too.
/.github/workflows/tests.yml
This workflow is the most complex to configure. This depends highly on your stack and environment. In some cases, you will probably need to split this workflow into unit and integration tests. It only contains some steps with a simple message showing you the commands to configure a node test environment.
I recommend you study your case carefully.
/.github/workflows/versioning.yml
The versioning workflow contains the commands to generate a new release. This release could be attached with a binary file result from them of your project's build.
The file shows you a simple build step and package.
This template contains a Project Automation
workflow to perform an issue status managment on project beta. For this workflows works correctly you need configure the secret GH_PROJECT_AUTOMATION
with a PAT token in classic mode.
The PAT token must have permissions for:
/.gitignore
This file is empty. Replace the content with what you think is more convenient.
The rest of the files usually don't require modifications. Implements defaults and typical workflows.