openqa/server: update for git default branch rename

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-07-12 16:17:39 -07:00
parent 3fe2380ed2
commit 8e891fe4d5

View file

@ -204,7 +204,7 @@
become_user: geekotest
when: >
(testsbranch.stderr.find('ot a git repository') != -1) or
(testsbranch.stdout.find('On branch master') != -1 and
(testsbranch.stdout.find('On branch main') != -1 and
testsbranch.stdout.find('Changes not staged') == -1)
- name: Remove old openqa_fedora_tools checkout