IBM / detect-secrets

An enterprise friendly way of detecting and preventing secrets in code.
Apache License 2.0
73 stars 45 forks source link

pre-commit migrate-config #116

Closed victoria-miltcheva closed 1 year ago

victoria-miltcheva commented 1 year ago

This PR migrates the detect secrets pre-commit config intended for users.

Resolves this warning:

> pre-commit install
[WARNING] normalizing pre-commit configuration to a top-level map. support for top level list will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this.
[WARNING] The 'rev' field of repo 'https://github.com/ibm/detect-secrets' appears to be a mutable reference (moving tag / branch). Mutable references are never updated after first install and are not supported. See https://pre-commit.com/#using-the-latest-version-for-a-repository for more details. Hint: `pre-commit autoupdate` often fixes this.
pre-commit installed at .git/hooks/pre-commit