Skip to content

Repository files navigation

Custom badook AI GitHub Actions

This repository contains custom GitHub actions required for badook AI CI/CD pipelines.

Contributing

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.

Included Actions

Cached Install Poetry

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:

Cached Poetry Install Dependencies

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.

Tag Version

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:prerelease
  • semver:prepatch
  • semver:preminor
  • semver:premajor
  • semver:patch
  • semver:minor
  • semver:major

Internally, the actions uses the following 3rd-party actions:

Cached Pre-Commit Run

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.

About

Custom GitHub actions required for badook AI CI/CD pipelines

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors