Gitcrypt lock with YAML

YAML parameters for Gitcrypt lock

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Should be set to GIT_CRYPT_LOCK.
keys
Required
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
Sign up for Buddy Digest

Best practices on CI/CD and fresh changelogs delivered weekly to your inbox.