Fix git integration test for default branch name.

Review Request #14930 — Created March 18, 2026 and updated

Information

rb-gateway
master

Reviewers

The integration test for git webhooks was assuming that the default
branch would be named "master", but whether this is true depends on the
user config of the person running the tests. This change updates the
integration test to detect the branch name.

Ran integration tests.

Summary ID
Fix git integration test for default branch name.
The integration test for git webhooks was assuming that the default branch would be named "master", but whether this is true depends on the user config of the person running the tests. This change updates the integration test to detect the branch name. Testing Done: Ran integration tests.
pytuxktntssstusnznwqtqylzypxmkyu
Checks run (2 succeeded)
flake8 passed.
JSHint passed.