From b0f52b9bc958b69f91a15d9743804028f8aafc8a Mon Sep 17 00:00:00 2001 From: Patrick Schratz Date: Tue, 29 Oct 2024 17:43:54 +0100 Subject: [PATCH] Correct spelling (#4279) --- cli/lint/lint.go | 2 +- cmd/server/flags.go | 2 +- docs/docs/30-administration/10-server-config.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/lint/lint.go b/cli/lint/lint.go index 973e9ec89..577c54c2b 100644 --- a/cli/lint/lint.go +++ b/cli/lint/lint.go @@ -45,7 +45,7 @@ var Command = &cli.Command{ &cli.StringSliceFlag{ Sources: cli.EnvVars("WOODPECKER_PLUGINS_TRUSTED_CLONE"), Name: "plugins-trusted-clone", - Usage: "Plugins witch are trusted to handle the netrc info in clone steps", + Usage: "Plugins which are trusted to handle the netrc info in clone steps", Value: constant.TrustedClonePlugins, }, }, diff --git a/cmd/server/flags.go b/cmd/server/flags.go index fe436c283..f4a94bc5a 100644 --- a/cmd/server/flags.go +++ b/cmd/server/flags.go @@ -167,7 +167,7 @@ var flags = append([]cli.Flag{ &cli.StringSliceFlag{ Sources: cli.EnvVars("WOODPECKER_PLUGINS_TRUSTED_CLONE"), Name: "plugins-trusted-clone", - Usage: "Plugins witch are trusted to handle the netrc info in clone steps", + Usage: "Plugins which are trusted to handle the netrc info in clone steps", Value: constant.TrustedClonePlugins, }, &cli.StringSliceFlag{ diff --git a/docs/docs/30-administration/10-server-config.md b/docs/docs/30-administration/10-server-config.md index 8d98d080e..082e3d3b8 100644 --- a/docs/docs/30-administration/10-server-config.md +++ b/docs/docs/30-administration/10-server-config.md @@ -356,7 +356,7 @@ You should specify the tag of your images too, as this enforces exact matches. > Defaults are defined in [shared/constant/constant.go](https://github.com/woodpecker-ci/woodpecker/blob/main/shared/constant/constant.go) -Plugins witch are trusted to handle the netrc info in clone steps. +Plugins which are trusted to handle the netrc info in clone steps. If a clone step use an image not in this list, the netrc will not be injected and an user has to use other methods (e.g. secrets) to clone non public repos. You should specify the tag of your images too, as this enforces exact matches.