fix(ci): make xray violation gate self-contained (#3239)