Merge "mirror-workspace-git-repos: Allow deleting current branch"

This commit is contained in:
Zuul
2025-05-16 05:22:43 +00:00
committed by Gerrit Code Review

View File

@@ -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