diff --git a/docs/docs/20-usage/71-project-settings.md b/docs/docs/20-usage/71-project-settings.md index 15c9315d9..a5381453f 100644 --- a/docs/docs/20-usage/71-project-settings.md +++ b/docs/docs/20-usage/71-project-settings.md @@ -14,6 +14,10 @@ Your Version-Control-System will notify Woodpecker about events via webhooks. If ## Project settings +### Allow pull requests + +Enables handling webhook's pull request event. If disabled, then pipeline won't run for pull requests. + ### Protected Every build initiated by a user (not including the project owner) needs to be approved by the owner before being executed. This can be used if your repository is public to protect the pipeline configuration from running unauthorized changes on third-party pull requests. @@ -28,13 +32,17 @@ Only server admins can set this option. If you are not a server admin this optio ::: +### Only inject netrc credentials into trusted containers + +Cloning pipeline step may need git credentials. They are injected via netrc. By default, they're only injected if this option is enabled, the repo is trusted ([see above](#trusted)) or the image is a trusted clone image. If you uncheck the option, git credentials will be injected into any container in clone step. + ## Project visibility You can change the visibility of your project by this setting. If a user has access to a project he can see all builds and their logs and artifacts. Settings, Secrets and Registries can only be accessed by owners. - `Public` Every user can see your project without being logged in. -- `Private` Only authenticated users of the Woodpecker instance can see this project. -- `Internal` Only you and other owners of the repository can see this project. +- `Internal` Only authenticated users of the Woodpecker instance can see this project. +- `Private` Only you and other owners of the repository can see this project. ## Timeout diff --git a/docs/docs/20-usage/project-settings.png b/docs/docs/20-usage/project-settings.png index ccb9b598f..fc29daac8 100644 Binary files a/docs/docs/20-usage/project-settings.png and b/docs/docs/20-usage/project-settings.png differ