diff --git a/.github/workflows/people.yml b/.github/workflows/people.yml index b61cc59..18b2902 100644 --- a/.github/workflows/people.yml +++ b/.github/workflows/people.yml @@ -28,14 +28,18 @@ jobs: - name: show run: git log - name: Enforce absence of print statements in code + if: always() run: | ! git diff origin/${{ github.event.pull_request.base.ref }}..HEAD -- . ':(exclude)**/people.yml' | grep -E "(\bprint\(|\bpprint\()" - name: Check absence of fixup commits + if: always() run: | ! git log | grep 'fixup!' - name: Install gitlint + if: always() run: pip install --user requests gitlint - name: Lint commit messages added to main + if: always() run: ~/.local/bin/gitlint --commits origin/${{ github.event.pull_request.base.ref }}..HEAD check-changelog: