Add default branch support to the Gerrit driver

This extends the previous change to include project default branch
support for the Gerrit driver as well as GitHub.

Change-Id: I2b1f6feed72277f5e61a2789d8af5276ee4c7b05
This commit is contained in:
James E. Blair
2023-08-16 14:38:31 -07:00
parent 57a9c13197
commit 5c12ea68c6
7 changed files with 103 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
---
features:
- |
GitHub repositories will now automatically use the default branch
as specified on GitHub as the project's default branch. This may
still be overridden in zuul using the
:attr:`project.default-branch` setting.
Gerrit and GitHub repositories will now automatically use the
default branch as specified in their respective systems as the
project's default branch. This may still be overridden in zuul
using the :attr:`project.default-branch` setting.