From ad6178d79052d89b0c374fbb7c6a00c441be7509 Mon Sep 17 00:00:00 2001 From: Ivan Willig Date: Wed, 4 Mar 2026 11:24:14 -0500 Subject: [PATCH] Adds git hygiene to project This change adds a new git workflow designed to ensure that git commits are grammically correct and explain why we are doing this change. We are adding this git workflow to ensure the quality of the of the git commits in this code base. --- .github/workflows/git-hygiene.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/git-hygiene.yml diff --git a/.github/workflows/git-hygiene.yml b/.github/workflows/git-hygiene.yml new file mode 100644 index 0000000..64ee01f --- /dev/null +++ b/.github/workflows/git-hygiene.yml @@ -0,0 +1,20 @@ +name: Git Hygiene + +on: + pull_request: + types: [opened, synchronize, reopened] + +permissions: + contents: read + pull-requests: write + +jobs: + lint-commits: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: iwillig/git-hygiene@main + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + use-local-model: "true" + llm-model: "qwen2.5:0.5b"