aboutcode-org / aboutcode-org/skeleton

Use a pre-commit hook

Offen
#91 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
9
Forks
9
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.