aboutcode-org / aboutcode-org/skeleton

Use a pre-commit hook

未關閉
#91 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
9
分支
9
PR 合併指標
30 天內沒有已合併 PR

描述

When you get too excited and prematurely push or commit code, it can result in issues such as password leaks or CI failures. Most of our CI failures are trivial, often caused by forgetting to run the appropriate formatting or tests before pushing. Implementing a pre-commit hook can help prevent these common mistakes.

There are a few options we can consider.

- [pre-commit](https://github.com/pre-commit/pre-commit) ([create our hooks](https://pre-commit.com/#usage))
- [talisman](https://github.com/thoughtworks/talisman) (detects passwords, etc.)
- [gitleaks](https://github.com/gitleaks/gitleaks) (detects passwords, etc.)

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。