Skip to content

chore: install secret detection on pre-commit hooks #507

chore: install secret detection on pre-commit hooks

chore: install secret detection on pre-commit hooks #507

---
name: PR - Commit Parity
on: [pull_request]
jobs:
pr-commit-parity:
name: PR and Commit messages Parity
runs-on: ubuntu-22.04
if: "!contains('dependabot[bot]', github.event.pull_request.user.login)"
env:
ACCEPTABLE_SIMILARITY_RATIO: 0.9
steps:
- uses: actions/[email protected]
- name: Execute pr-commit-parity script
run: node tools/pr-commit-parity.js ${{ github.event.pull_request.url }} "$ACCEPTABLE_SIMILARITY_RATIO"