Merge "mirror-workspace-git-repos: Allow deleting current branch"
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
- name: Allow pushing to non-bare repo
|
- name: Allow pushing to non-bare repo and deleting current branch
|
||||||
git_config:
|
shell: |-
|
||||||
name: receive.denyCurrentBranch
|
git config --local receive.denyCurrentBranch ignore
|
||||||
value: ignore
|
git config --local receive.denyDeleteCurrent ignore
|
||||||
scope: local
|
args:
|
||||||
repo: "{{ zuul_workspace_root }}/{{ zj_project.value.src_dir }}"
|
chdir: "{{ zuul_workspace_root }}/{{ zj_project.value.src_dir }}"
|
||||||
with_dict: "{{ zuul.projects }}"
|
with_dict: "{{ zuul.projects }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: zj_project
|
loop_var: zj_project
|
||||||
|
|||||||
Reference in New Issue
Block a user