Add example settings for ensure_branch
This commit is contained in:
parent
c972b5706d
commit
7ed44cc1b8
1 changed files with 12 additions and 0 deletions
12
imagrc.toml
12
imagrc.toml
|
@ -46,6 +46,9 @@ aspect = "vcs"
|
|||
# error and abort the store action.
|
||||
abort_on_repo_init_failure = true
|
||||
|
||||
# Ensure to be on this branche before doing anything.
|
||||
ensure_branch = "master"
|
||||
|
||||
[store.hooks.stdhook_git_retrieve]
|
||||
aspect = "vcs"
|
||||
|
||||
|
@ -54,6 +57,9 @@ aspect = "vcs"
|
|||
# error and abort the store action.
|
||||
abort_on_repo_init_failure = true
|
||||
|
||||
# Ensure to be on this branche before doing anything.
|
||||
ensure_branch = "master"
|
||||
|
||||
[store.hooks.stdhook_git_delete]
|
||||
aspect = "vcs"
|
||||
|
||||
|
@ -62,6 +68,9 @@ aspect = "vcs"
|
|||
# error and abort the store action.
|
||||
abort_on_repo_init_failure = true
|
||||
|
||||
# Ensure to be on this branche before doing anything.
|
||||
ensure_branch = "master"
|
||||
|
||||
[store.hooks.stdhook_git_update]
|
||||
aspect = "vcs"
|
||||
|
||||
|
@ -70,3 +79,6 @@ aspect = "vcs"
|
|||
# error and abort the store action.
|
||||
abort_on_repo_init_failure = true
|
||||
|
||||
# Ensure to be on this branche before doing anything.
|
||||
ensure_branch = "master"
|
||||
|
||||
|
|
Loading…
Reference in a new issue