I have a Giant E-Bike and I've just noticed that it makes a clicking sound when it is stopped, the front brake is applied and it's being pushed/pulled with the handlebars.
I've removed the brake calipers to check movement in the pads but this does not appear to be the problem.