Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.67 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.67 KB

ProseGrinder Default Community Health Files

Default community health files for ProseGrinder.

Workflows

Workflows are designed based on Conventional Commits.

In general, workflows should follow this pattern:

  1. Default (typically main) is protected and only updated via PRs.
  2. Every PR should pass linting and tests, found in the language’s CI workflow
  3. On merge, the release workflow should

The following are reusable workflows per language.

Python Poetry

Conventional commits will drive versioning via the Python implementation of commitizen.

  • Poetry Lint: Runs pylint and black.
  • Poetry Test: Runs pytest tests.
  • Poetry CI:
    • Invoke on push to PR branch.
    • MUST pass in order to merge PR.
    • Combines Lint and Test into a single workflow.
  • Poetry Release
    • Invoke on push to main, typically via PR merge.
    • Bumps the project version and generates a changelog via Commitizen, based on Conventional Commits.
    • Tags the project and pushes changes to main.
    • Creates a GitHub release based on the tag and the changelog created by Commitizen.
  • Poetry Publish
    • Invoke on tag, typically via Poetry Release.
    • Builds the project.
    • Optionally publishes to PyPi test. See workflow for details.
    • Publish to PyPi.

NPM