- Create a new repository in GitHub using this repository as a template
- Generate Docker Hub PAT (Personal Access Token)
- Create an Environment in GitHub with the following secrets
- DOCKER_USERNAME (Docker Hub username)
- DOCKER_PASSWORD (Docker Hub PAT)
- Create a Docker Hub repository with the same name as the GitHub repository
- Update
assignees
inrenovate.json
with your GitHub username - Set up code-cove and make sure it has access to this repository
- Setup branch protection rules
- Set
Enrforcment Status
toEnabled
- Make sure
Target branches
set tomain
or default branch - Ensure these
Branch rules
are selectedRestrict deletions
Require status checks to pass
with these checksLint
Test
Block force pushes
- Set
- Create a PyPi
Trusted Publisher
- Ensure the name in
pyproject.toml
matches the name of the package on PyPi - Make sure the following linters are installed externally of the project
- yamllint
- shellcheck
- shfmt
- node (npx/dclint)
- Handle GitHub pre-release
- Update PYTHONPATH with src folder
- Add custom user to Dockerfile