chore: install secret detection on pre-commit hooks #507
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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" |