Skip to content

Commit

Permalink
Remove ssh.rst from private-key check (#29412)
Browse files Browse the repository at this point in the history
The ssh.rst contains a private key example (legitimately), so the
file should be excluded from private key check.
  • Loading branch information
potiuk authored Feb 7, 2023
1 parent a1faa2c commit 9602f1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ repos:
exclude: ^airflow/_vendor/
- id: detect-private-key
name: Detect if private key is added to the repository
exclude: ^docs/apache-airflow-providers-ssh/connections/ssh.rst$
- id: end-of-file-fixer
name: Make sure that there is an empty line at the end
exclude: ^airflow/_vendor/|^docs/apache-airflow/img/.*\.dot|^docs/apache-airflow/img/.*\.sha256
Expand Down

0 comments on commit 9602f1d

Please sign in to comment.