Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

agblox/github-reusable-workflows

Repository files navigation

github-reusable-workflows

checks release

Table of contents

About

Shared GitHub workflows. Inspired by Musings on GitHub Actions Reusable Workflows

Available workflows

Pay attention, if inputs.asdf == true, Makefile target asdf will be called for plugins setup.

  • approve.yml Approve by machine user.
  • commitlint.yml Check commit messages.
  • pre-commit.yml Run pre-commit.
  • publish.yml Push artifacts to the storage(ECR or S3). Makefile target - push-artifacts.
  • pytest.yml Run tests. Makefile targets - test and test-integration.
  • release-workflow.yml Publish release.
  • status-to-slack.yml Send workflow status to slack.

Prerequisites

Tools to install: git, pre-commit, and detect-secrets.

You can use this playbook for automated tools installation(Ubuntu only).

Usage

Run make for list all of available targets.

Setup local environment

  • git clone [email protected]:agblox/github-reusable-workflows.git
  • cd github-reusable-workflows
  • make repo-init

Build

Release GitHub workflow. Release commit types: fix, feat.

Deploy

Test

Contribute

Commit message style - Conventional Commits.