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"