This repository contains custom GitHub actions required for badook AI CI/CD pipelines.
This repository uses pre-commit for checking files committed to the repository. Install pre-commit by following the installation guide.
Locally install the pre-commit hook by executing pre-commit install in your repo folder.
This action installs Poetry in a cached manner, as well as optionally installing poetry-dynamic-versioning. It assumes that Python is already installed on the runner.
Internally, the actions uses the following 3rd-party actions:
This action executes poetry install in a cached manner. It caches the created virtual environment for future use. The action assumes that poetry is already installed.
This action is used to automatically manage repo version following pull-requests. It also comments on the PR with the expected/actual version for the tag following the PR.
By default, it assumes the following labels (or a subset of them) exists on the repository:
semver:prereleasesemver:prepatchsemver:preminorsemver:premajorsemver:patchsemver:minorsemver:major
Internally, the actions uses the following 3rd-party actions:
- zwaldowski/match-label-action
- zwaldowski/semver-release-action
- peter-evans/find-comment
- peter-evans/create-or-update-comment
This action executes pre-commit run within a poetry context in a cached manner. It caches the created virtual environment for future use. The action assumes that poetry and pre-commit are already installed.