跳到主要内容

Gitcrypt lock with YAML

List of YAML parameters and examples for the "Gitcrypt lock" action.

YAML parameters for Gitcrypt lock

名称类型描述
action
必填
StringThe ID of the action.
type
必填
StringThe type of the action. Should be set to GIT_CRYPT_LOCK.
keys
必填
StringKey names you want to use to lock your repository.
force_argStringSet to true if you want to lock even if there is uncommitted work in pipeline filesystem.

YAML example for Gitcrypt lock

actions:
- action: "Gitcrypt lock"
type: "GIT_CRYPT_LOCK"
keys:
- name: "default"
- name: "key2"
force_arg: true