Skip to content

Commit e5359a3

Browse files
committed
remove travis, add pre-commit config
Signed-off-by: Michael Darmawan <michael.darmawan@ibm.com>
1 parent 994aa72 commit e5359a3

3 files changed

Lines changed: 17 additions & 83 deletions

File tree

.pre-commit-config.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
repos:
2+
- repo: https://github.com/ibm/detect-secrets
3+
# If you desire to use a specific version of detect-secrets, you can replace `master` with other git revisions such as branch, tag or commit sha.
4+
# You are encouraged to use static refs such as tags, instead of branch name
5+
#
6+
# Running "pre-commit autoupdate" automatically updates rev to latest tag
7+
rev: 0.13.1+ibm.64.dss
8+
hooks:
9+
- id: detect-secrets # pragma: whitelist secret
10+
# Add options for detect-secrets-hook binary. You can run `detect-secrets-hook --help` to list out all possible options.
11+
# You may also run `pre-commit run detect-secrets` to preview the scan result.
12+
# when "--baseline" without "--use-all-plugins", pre-commit scan with just plugins in baseline file
13+
# when "--baseline" with "--use-all-plugins", pre-commit scan with all available plugins
14+
# add "--fail-on-unaudited" to fail pre-commit for unaudited potential secrets
15+
args: [--baseline, .secrets.baseline, --use-all-plugins]

.secrets.baseline

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2022-08-12T06:37:50Z",
6+
"generated_at": "2026-05-11T20:49:08Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -77,7 +77,7 @@
7777
}
7878
],
7979
"results": {},
80-
"version": "0.13.1+ibm.50.dss",
80+
"version": "0.13.1+ibm.64.dss",
8181
"word_list": {
8282
"file": null,
8383
"hash": null

.travis.yml

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)