mirror of
https://github.com/jnstockley/govee-cloud.git
synced 2026-06-05 18:47:55 -05:00
Govee Cloud API
- Python 98.6%
- Shell 1.4%
|
|
||
|---|---|---|
| .github/workflows | ||
| scripts | ||
| src | ||
| tests | ||
| .gitignore | ||
| .python-version | ||
| .yamllint | ||
| LICENSE | ||
| Main Branch Protection.json | ||
| pyproject.toml | ||
| pytest.ini | ||
| README.md | ||
| renovate.json | ||
| sample.env | ||
| TODO.md | ||
| uv.lock | ||
Python Starter
Steps to set up
- 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
assigneesinrenovate.jsonwith your GitHub username - Set up code-cove and make sure it has access to this repository
- Setup branch protection rules
- Set
Enrforcment StatustoEnabled - Make sure
Target branchesset tomainor default branch - Ensure these
Branch rulesare selectedRestrict deletionsRequire status checks to passwith these checksLintTest
Block force pushes
- Set
- Create a PyPi
Trusted Publisher - Ensure the name in
pyproject.tomlmatches the name of the package on PyPi - Make sure the following linters are installed externally of the project
- yamllint
- shellcheck
- shfmt
- node (npx/dclint)
TODO
- Handle GitHub pre-release
- Update PYTHONPATH with src folder
- Add custom user to Dockerfile
- Fix Dockerfile
- Fix health check
- Fix version number