Enable SonarCloud Analysis (#2250)
Enable SonarCloud Analysis (#2250)

* Enable SonarCloud Analysis

* refactor variables

* fix dependency check path

* remove pr none trigger

* removed dependency check

* Consolidate variable groups

* Add missing condition

* Change triggers to PRs and master

Co-authored-by: adam230594 <4a02fd771ca756c0553bc29eae783ede7471c74e@users.noreply.github.com>
Co-authored-by: Ewan Noble <f0919bc15d846b1b77c89d6b0dfe844aa7b999ec@users.noreply.github.com>
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice