/reusable-workflows

A collection of reusable workflows for Github Actions

Primary LanguageShellMIT LicenseMIT

Available workflows

This workflow creates and bumps semantic version tags on a per-project basis in a monorepo.

Usage

bump-and-tag:
  permissions:
    contents: write
  uses: andres-rojas/reusable-workflows/.github/workflows/monorepo-semver-tags.yml@main
  with:
    bump: major
    filter: 's/^([A-Za-z0-9-]+)\/.*$/\1/p'

To trigger on pull request labels, see this repo's implementation.

Development

VS Code (local) GitHub Codespaces (remote)

Dev Container

A pre-packaged development environment is provided as a Development Container.

The .devcontainer.json file deploys an Ubuntu environment with:

VS Code

When used via Visual Studio Code, the following extensions are included:

Linting

The following linters are expected to be used and will be enforced via CI automation:

Formatting

The following formatters are expected to be used and will be enforced via CI automation:

Pre-Commit Hooks

Pre-commit git hooks are available via pre-commit.

To get set up, install pre-commit and the hooks into a local copy of this repository:

brew install pre-commit
pre-commit install