Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipAbed committed May 22, 2024
1 parent 6ecea13 commit fcbf255
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions docs/usage/self-hosted-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -555,12 +555,11 @@ Information provided mainly in debug log level.

## encryptedWarning

By default, Renovate does _not_ warn you if it finds an encrypted secret in your config.
But if you set an `encryptedWarning` text, then Renovate will:

- print the `encryptedWarning` text in the logs
- show the `encryptedWarning` text on your Dependency Dashboard
- raise a warning in every pull request description
Use this if you want to stop supporting `encrypted` configuration capabilities but want to warn users first to migrate.
If set to a string value, Renovate will:
- log warnings with the `encryptedWarning` text

Check failure on line 560 in docs/usage/self-hosted-configuration.md

View workflow job for this annotation

GitHub Actions / lint-docs

Lists should be surrounded by blank lines

docs/usage/self-hosted-configuration.md:560 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "- log warnings with the `encry..."] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md032.md
- show the `encryptedWarning` text on the Dependency Dashboard of any repo using `encrypted` config
- include the text as a warning in every pull request

## endpoint

Expand Down
2 changes: 1 addition & 1 deletion lib/config/options/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ const options: RenovateOptions[] = [
{
name: 'encryptedWarning',
description:
'Renovate will print this string to the logs, and show it on your Dependency Dashboard, if it finds encrypted tokens in your Renovate configuration.',
'Warning text to use if encrypted config is found.',
type: 'string',
globalOnly: true,
},
Expand Down

0 comments on commit fcbf255

Please sign in to comment.