Personal dev workflow toolkit: unified logging + emoji commit conventions
Project description
zendev
Personal dev workflow toolkit: unified logging + emoji commit conventions.
Reusable commit-msg hook
This repository now publishes a reusable pre-commit/prek hook: zendev-commit-msg.
It validates commit titles against zendev's emoji commit schema:
✨ feat: add export🐛 fix(parser): handle null token📝 docs: update README
It also allows common git-generated commit messages such as merge, revert, fixup!, and squash!.
Messages like feat: add export are rejected because the emoji prefix is required.
Use from another repository
With .pre-commit-config.yaml:
repos:
- repo: https://github.com/zendev-lab/zendev
rev: v0.0.5
hooks:
- id: zendev-commit-msg
With prek.toml:
[[repos]]
repo = "https://github.com/zendev-lab/zendev"
rev = "v0.0.5"
hooks = [
{ id = "zendev-commit-msg" },
]
Then install the hook:
uvx prek install --hook-type commit-msg
GitHub Actions: validate PR titles and bodies
This repository now ships both the Python CLIs and the thin composite-action
wrappers under actions/, so one zendev revision owns the full PR
validation stack.
Use inside this repository
Check out the repo, then call the local actions:
# .github/workflows/ci-pr-checks.yml
name: CI - PR Checks
on:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
title:
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: actions/checkout@v4
- uses: ./actions/validate-title
with:
text: ${{ github.event.pull_request.title }}
body:
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: actions/checkout@v4
- uses: ./actions/validate-body
with:
body: ${{ github.event.pull_request.body }}
Use from another repository
Pin the action path in this repository:
jobs:
title:
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: zendev-lab/zendev/actions/validate-title@v0.0.5
with:
text: ${{ github.event.pull_request.title }}
jobs:
body:
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: zendev-lab/zendev/actions/validate-body@v0.0.5
with:
body: ${{ github.event.pull_request.body }}
Each composite action resolves its bundled zendev tree from GITHUB_ACTION_PATH
(one level under actions/) and runs the matching CLI revision with uvx --from,
so the wrappers always stay aligned with whatever tag or revision pins the action.
Use inside this repository
just install
That installs both pre-commit and commit-msg hooks for local development.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zendev-0.0.6-py3-none-any.whl.
File metadata
- Download URL: zendev-0.0.6-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3e4ec486854c554bd39d781078fc9c441d3cc88c3fee4e9988ffe0cd7ac5980
|
|
| MD5 |
f836e30bdb6fa7f82b7d1ac40f7108f1
|
|
| BLAKE2b-256 |
143a15e39bd5753a8db5f375ce70acc82a3071e1459c05bf3a7844eb2f078af4
|
Provenance
The following attestation bundles were made for zendev-0.0.6-py3-none-any.whl:
Publisher:
cd-release.yml on zendev-lab/zendev
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zendev-0.0.6-py3-none-any.whl -
Subject digest:
d3e4ec486854c554bd39d781078fc9c441d3cc88c3fee4e9988ffe0cd7ac5980 - Sigstore transparency entry: 1417912140
- Sigstore integration time:
-
Permalink:
zendev-lab/zendev@59f1d6120cf1734caf01ae7aa23daf6051b06e26 -
Branch / Tag:
refs/tags/v0.0.6 - Owner: https://github.com/zendev-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd-release.yml@59f1d6120cf1734caf01ae7aa23daf6051b06e26 -
Trigger Event:
push
-
Statement type: