CodeQL@v1 is going to be deprecated in three weeks. This PR updates the branches to track only the currently maintained release branches and moves the actions to its v2 version. Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>