Gitcrypt lock with YAML
List of YAML parameters and examples for the "Gitcrypt lock" action.
YAML parameters for Gitcrypt lock
名称 | 类型 | 描述 |
---|---|---|
action 必填 | String | The ID of the action. |
type 必填 | String | The type of the action. Should be set to GIT_CRYPT_LOCK . |
keys 必填 | String | Key names you want to use to lock your repository. |
force_arg | String | Set 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