You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-23 21:44:44 +02:00
pre-commit fixes (#2669)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
@@ -21,7 +21,7 @@ Enables handling webhook's pull request event. If disabled, then pipeline won't
|
||||
### Protected
|
||||
|
||||
Every pipeline initiated by an webhook event needs to be approved by a project members with push permissions before being executed.
|
||||
The protected option can be used as an additional review process before running potentially harmful pipelines. Especially if pipelines can be executed by third-parties through pull-requests.
|
||||
The protected option can be used as an additional review process before running potentially harmful pipelines. Especially if pipelines can be executed by third-parties through pull-requests.
|
||||
|
||||
### Trusted
|
||||
|
||||
|
||||
@@ -20,9 +20,9 @@ services:
|
||||
+ - WOODPECKER_OPEN=true
|
||||
```
|
||||
|
||||
You can **also restrict** registration, by keep registration closed and ...
|
||||
... **adding** new **users manually** via the CLI: `woodpecker-cli user add`, or
|
||||
... allowing specific **admin users** via the `WOODPECKER_ADMIN` setting, or
|
||||
You can **also restrict** registration, by keep registration closed and ...
|
||||
... **adding** new **users manually** via the CLI: `woodpecker-cli user add`, or
|
||||
... allowing specific **admin users** via the `WOODPECKER_ADMIN` setting, or
|
||||
by open registration and **filter by organization** membership through the `WOODPECKER_ORGS` setting.
|
||||
|
||||
### To close registration, but allow specific admin users
|
||||
|
||||
@@ -115,4 +115,3 @@ labels:
|
||||
steps:
|
||||
[...]
|
||||
```
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Secrets encryption
|
||||
|
||||
By default, Woodpecker does not encrypt secrets in its database. You can enable encryption
|
||||
By default, Woodpecker does not encrypt secrets in its database. You can enable encryption
|
||||
using simple AES key or more advanced [Google TINK](https://developers.google.com/tink) encryption.
|
||||
|
||||
## Common
|
||||
@@ -8,7 +8,7 @@ using simple AES key or more advanced [Google TINK](https://developers.google.co
|
||||
### Enabling secrets encryption
|
||||
|
||||
To enable secrets encryption and encrypt all existing secrets in database set
|
||||
`WOODPECKER_ENCRYPTION_KEY`, `WOODPECKER_ENCRYPTION_KEY_FILE` or `WOODPECKER_ENCRYPTION_TINK_KEYSET_PATH` environment
|
||||
`WOODPECKER_ENCRYPTION_KEY`, `WOODPECKER_ENCRYPTION_KEY_FILE` or `WOODPECKER_ENCRYPTION_TINK_KEYSET_PATH` environment
|
||||
variable depending on encryption method of your choice.
|
||||
|
||||
After encryption is enabled you will be unable to start Woodpecker server without providing valid encryption key!
|
||||
@@ -45,7 +45,7 @@ You will need plaintext AEAD-compatible Google TINK keyset to encrypt your data.
|
||||
|
||||
To generate it and then rotate keys if needed, install `tinkey`([installation guide](https://developers.google.com/tink/install-tinkey))
|
||||
|
||||
Keyset contains one or more keys, used to encrypt or decrypt your data, and primary key ID, used to determine which key
|
||||
Keyset contains one or more keys, used to encrypt or decrypt your data, and primary key ID, used to determine which key
|
||||
to use while encrypting new data.
|
||||
|
||||
Keyset generation example:
|
||||
|
||||
@@ -304,37 +304,37 @@ execute a local pipeline
|
||||
|
||||
**--backend-ssh-user**="": backend ssh user
|
||||
|
||||
**--commit-author-avatar**="":
|
||||
**--commit-author-avatar**="":
|
||||
|
||||
**--commit-author-email**="":
|
||||
**--commit-author-email**="":
|
||||
|
||||
**--commit-author-name**="":
|
||||
**--commit-author-name**="":
|
||||
|
||||
**--commit-branch**="":
|
||||
**--commit-branch**="":
|
||||
|
||||
**--commit-message**="":
|
||||
**--commit-message**="":
|
||||
|
||||
**--commit-ref**="":
|
||||
**--commit-ref**="":
|
||||
|
||||
**--commit-refspec**="":
|
||||
**--commit-refspec**="":
|
||||
|
||||
**--commit-sha**="":
|
||||
**--commit-sha**="":
|
||||
|
||||
**--env**="":
|
||||
**--env**="":
|
||||
|
||||
**--forge-type**="":
|
||||
**--forge-type**="":
|
||||
|
||||
**--forge-url**="":
|
||||
**--forge-url**="":
|
||||
|
||||
**--local**: run from local directory
|
||||
|
||||
**--log-level**="": set logging level (default: info)
|
||||
|
||||
**--netrc-machine**="":
|
||||
**--netrc-machine**="":
|
||||
|
||||
**--netrc-password**="":
|
||||
**--netrc-password**="":
|
||||
|
||||
**--netrc-username**="":
|
||||
**--netrc-username**="":
|
||||
|
||||
**--network**="": external networks
|
||||
|
||||
@@ -344,7 +344,7 @@ execute a local pipeline
|
||||
|
||||
**--pipeline-finished**="": (default: 0)
|
||||
|
||||
**--pipeline-link**="":
|
||||
**--pipeline-link**="":
|
||||
|
||||
**--pipeline-number**="": (default: 0)
|
||||
|
||||
@@ -352,53 +352,53 @@ execute a local pipeline
|
||||
|
||||
**--pipeline-started**="": (default: 0)
|
||||
|
||||
**--pipeline-status**="":
|
||||
**--pipeline-status**="":
|
||||
|
||||
**--pipeline-target**="":
|
||||
**--pipeline-target**="":
|
||||
|
||||
**--prev-commit-author-avatar**="":
|
||||
**--prev-commit-author-avatar**="":
|
||||
|
||||
**--prev-commit-author-email**="":
|
||||
**--prev-commit-author-email**="":
|
||||
|
||||
**--prev-commit-author-name**="":
|
||||
**--prev-commit-author-name**="":
|
||||
|
||||
**--prev-commit-branch**="":
|
||||
**--prev-commit-branch**="":
|
||||
|
||||
**--prev-commit-message**="":
|
||||
**--prev-commit-message**="":
|
||||
|
||||
**--prev-commit-ref**="":
|
||||
**--prev-commit-ref**="":
|
||||
|
||||
**--prev-commit-refspec**="":
|
||||
**--prev-commit-refspec**="":
|
||||
|
||||
**--prev-commit-sha**="":
|
||||
**--prev-commit-sha**="":
|
||||
|
||||
**--prev-pipeline-created**="": (default: 0)
|
||||
|
||||
**--prev-pipeline-event**="":
|
||||
**--prev-pipeline-event**="":
|
||||
|
||||
**--prev-pipeline-finished**="": (default: 0)
|
||||
|
||||
**--prev-pipeline-link**="":
|
||||
**--prev-pipeline-link**="":
|
||||
|
||||
**--prev-pipeline-number**="": (default: 0)
|
||||
|
||||
**--prev-pipeline-started**="": (default: 0)
|
||||
|
||||
**--prev-pipeline-status**="":
|
||||
**--prev-pipeline-status**="":
|
||||
|
||||
**--privileged**="": privileged plugins (default: "plugins/docker", "plugins/gcr", "plugins/ecr", "woodpeckerci/plugin-docker-buildx")
|
||||
|
||||
**--repo**="": full repo name
|
||||
|
||||
**--repo-clone-url**="":
|
||||
**--repo-clone-url**="":
|
||||
|
||||
**--repo-link**="":
|
||||
**--repo-link**="":
|
||||
|
||||
**--repo-private**="":
|
||||
**--repo-private**="":
|
||||
|
||||
**--repo-remote-id**="":
|
||||
**--repo-remote-id**="":
|
||||
|
||||
**--repo-trusted**:
|
||||
**--repo-trusted**:
|
||||
|
||||
**--server, -s**="": server address
|
||||
|
||||
@@ -408,7 +408,7 @@ execute a local pipeline
|
||||
|
||||
**--system-name**="": (default: woodpecker)
|
||||
|
||||
**--system-platform**="":
|
||||
**--system-platform**="":
|
||||
|
||||
**--timeout**="": pipeline timeout (default: 0s)
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ The following list contains some tools and frameworks used by the Woodpecker UI.
|
||||
|
||||
## Messages and Translations
|
||||
|
||||
Woodpecker uses [Vue I18n](https://vue-i18n.intlify.dev/) as translation library. New translations have to be added to `web/src/assets/locales/en.json`. The English source file will be automatically imported into [Weblate](https://translate.woodpecker-ci.org/) (the translation system used by Woodpecker) where all other languages will be translated by the community based on the English source.
|
||||
Woodpecker uses [Vue I18n](https://vue-i18n.intlify.dev/) as translation library. New translations have to be added to `web/src/assets/locales/en.json`. The English source file will be automatically imported into [Weblate](https://translate.woodpecker-ci.org/) (the translation system used by Woodpecker) where all other languages will be translated by the community based on the English source.
|
||||
You must not provide translations except English in PRs, otherwise weblate could put git into conflicts (when someone has translated in that language file and changes are not into master branch yet)
|
||||
|
||||
For more information about translations see [Translations](./07-translations.md).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Security
|
||||
|
||||
We take security seriously.
|
||||
We take security seriously.
|
||||
If you discover a security issue, please bring it to their attention right away!
|
||||
|
||||
### Reporting a Vulnerability
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.5 KiB |
Reference in New Issue
Block a user