Sync security branches using the Merge Train
What does this MR do?
This changes the CI setup for syncing stable branches so that we support syncing of security repositories.
This fixes #38387 (closed)
Does this MR meet the acceptance criteria?
Conformity
Edited by Yorick Peterse