The source project of this merge request has been removed.
Build flatpak bundle on only master
This thing worked up until now because the repos we tested on named default branch as master.
But when contributors create pull request, their branches won't be named master, and in those cases, the current script will fail. Eg: line 5824 at https://invent.kde.org/flyingcakes/neochat/-/jobs/393814#L5824
Our manifests will by default name the branch as master, since thats what we're building. Builds should be successful. Eg: successful build of the same above repo, but on a branch thats not master and using the updated CI script -> https://invent.kde.org/flyingcakes/neochat/-/jobs/394747
Edited by Snehit Sah