Accept default branch param on notifaction services

Merged Zeger-Jan van de Weg requested to merge zj-accept-default-branch-param into master

Not sure how to test this, did it manually and worked.

Closes #31173 (closed)