Preventing automatic update

How can flatpak be prevented from performing automatic updates?

flatpak doesn’t do automatic updates.

Here, it’s GNOME software that does (and has to be disabled from doing so). No idea with KDE Discover.