Skip to content

test: make audit log table configurable #1219

test: make audit log table configurable

test: make audit log table configurable #1219

Workflow file for this run

---
name: Lint Commit Messages
on: [pull_request]
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wagoid/commitlint-github-action@v6
strict-commitlint:
name: Strict commit lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wagoid/commitlint-github-action@v6
with:
failOnWarnings: true
- name: Check amount of commits
# Run this check even if previous one failed
if: always()
env:
COMMITS_COUNT: ${{ github.event.pull_request.commits }}
run: |-
if [ $COMMITS_COUNT -gt 2 ]; then
echo "You have ${COMMITS_COUNT} commits in your PR. Didn't you mean to squash them?"
exit 1
fi
echo "Your PR seems correct. Good job."