Skip to content

Commit 2b57b29

Browse files
authored
Merge pull request #1051 from GitGuardian/severine/update-env-example-test-config
chore: update env example
2 parents 920bbf7 + 52310cd commit 2b57b29

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.env.example

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ GITGUARDIAN_INSTANCE=https://dashboard.gitguardian.com/
88
# TEST_KNOWN_SECRET, this one has a default value, so you do not have to set
99
# it unless the default value does not work for you
1010
#TEST_UNKNOWN_SECRET=
11-
# Set this to a single match secret unknown by your dashboard with a valid status
12-
# This is required to run functional tests on an account monitoring ggshield repository,
13-
# where the token in conftest.py has been ignored
14-
TEST_GG_VALID_TOKEN=
15-
TEST_GG_VALID_TOKEN_IGNORE_SHA=
11+
12+
# You might need to set those 2 vars to run tests
13+
# - push a valid GitGuardian test token in your workspace
14+
# (see https://docs.gitguardian.com/secrets-detection/secrets-detection-engine/detectors/specifics/gitguardian_test_token_checked)
15+
# - set TEST_GG_VALID_TOKEN to this value
16+
# - and set TEST_GG_VALID_TOKEN_IGNORE_SHA to matching commit sha
17+
# TEST_GG_VALID_TOKEN=
18+
# TEST_GG_VALID_TOKEN_IGNORE_SHA=

0 commit comments

Comments
 (0)